Skip to content

Deprecate some compiler directives #652

Description

@ark120202
  • @compileMembersOnly - too generic, targeted transforms cover it better and avoid name duplication (now it's EnumName.ENUM_NAME_ENUM_MEMBER).
  • @extension - too generic, originally it was designed as a workaround to add members to existing classes, but interface merging + simple property set works, and it's exactly like it's done in JS.
  • @pureAbstract - it was added only for dota, interface merging covers it.

  • @metaExtension - looks like it was added only for a single environment, I think we might reevaluate the need for it.
  • @customConstructor - I personally don't see much point in it, wouldn't it be better to type it as an interface and function?
  • @phantom - what was an original motivation for it? It looks similar to Add identifier aliases #65 and phantomBindingPatterns idea #645.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions