Skip to content

Dart2JS raises spurious compile-time error for "near name clash" of method and setter #21201

Closed
@eernstg

Description

@eernstg

The following co19 test fails with the compile-time error 'Error: Duplicate definition of 'foo'':

Language/07_Classes/1_Instance_Methods_A07_t01.

ECMA-408 10.1 p22 mandates a static warning, but no support for a compile-time error seems to exist.

Metadata

Metadata

Assignees

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)web-dart2js

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions