Skip to content

Improper this usage in primary constructors #4489

@gryznar

Description

@gryznar

In spec of primary constructors: working/2364 - primary constructors/feature-specification.md, this is used in constructor declaration. I see it as improper, as this in Dart refers to class instance which is the product of construction. IMO much more suitable will be to use new keyword

@eernstg

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions