Skip to content

Constructor support, ie <MyStruct::new(..) /> #69

@mrchantey

Description

@mrchantey

I understand this is quite a departure from JSX but support for constructors would make my use-case much prettier.

Currently <MyStruct::new(..) drops the trailing brackets (..) as OpenTag holds a Path. I'd like it to instead hold an Expr which would allow for this pattern and others in the open tag position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions