Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eernstg opened this issue Oct 1, 2014 · 2 comments
Assignees
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@eernstg
Copy link
Member

eernstg commented Oct 1, 2014

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.

@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Mar 1, 2016
@floitschG
Copy link
Contributor

Test is now called Language/Classes/Instance_Methods/same_name_setter_t01.

Should be fixed with unified frontend.

@askeksa-google
Copy link

This is indeed fixed with the unified frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants