Skip to content

Alternative path to closurizing constructors? #1

@alan-knight

Description

@alan-knight

This seems like it would provide a way of closurizing a constructor, without needing the extra syntax in that proposal (https://github.com/gbracha/generalizedTearOffs) Instead of MyClass#constructorName you could write MyClass.constructorName. It doesn't address operators or getters/setters, but it seems like there's some duplication there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions