Skip to content

[js_interop] No error or warning if an enum ia annotated with @anonymous #61115

@sgrekhov

Description

@sgrekhov

Please add a warning for enum annotated with @anonimous

@anonymous
enum E { // No error or warning here now
  e0;
}

main() {
  print(E);
}

cc @srujzs

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions