Skip to content

dartc should return compile-error if getter parameter is missing #2475

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


dartc fails co19 test Language/07_Classes/2_Getters_A01_t03.dart

class C {
  get getter => null; // should be get getter() => null;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-invalidClosed as we don't believe the reported issue is generally actionable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions