Skip to content
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

"extents" instead of "extends" generates a large number of confusing error messages in the analyzer #44132

Open
Hixie opened this issue Nov 10, 2020 · 0 comments
Labels
analyzer-recovery area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. front-end-fasta-recovery P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@Hixie
Copy link
Contributor

Hixie commented Nov 10, 2020

The following code has a one-character typo:

class A {
  A(this.foo);
  final int foo;
}

class B extents A {
  B(int foo) : super(foo);
  
  int bar() {
    return foo;
  }
}

...and triggers at least 15 errors in the analyzer.

@mraleph mraleph added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Nov 10, 2020
@srawlins srawlins added the P4 label Feb 1, 2021
@srawlins srawlins added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-recovery area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. front-end-fasta-recovery P4 type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

4 participants