Skip to content

CFE: regression in error message with constructor tearoffs enabled #47079

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
leafpetersen opened this issue Sep 1, 2021 · 1 comment
Closed
Assignees
Labels
legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@leafpetersen
Copy link
Member

With constructor tearoffs enabled, the error messages seen in this test regress somewhat.

As an example, this code:

main() {
  new A();
}

used to produce the error Couldn't find constructor 'A'.foo. and now produces Member not found: 'A.foo' .

Feel free to close this out if it's not planned to fix, just wanted to call it out as a change. I will update expectations in the test for now.

cc @johnniwinther @devoncarew

@leafpetersen leafpetersen added the legacy-area-front-end Legacy: Use area-dart-model instead. label Sep 1, 2021
@leafpetersen
Copy link
Member Author

@johnniwinther johnniwinther self-assigned this Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

No branches or pull requests

2 participants