-
Notifications
You must be signed in to change notification settings - Fork 1.7k
enhanced enums support for unnecessary_overrides
#58589
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
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-new-language-feature
Comments
31 tasks
test_field() async {
await assertDiagnostics(r'''
enum A {
a,b,c;
@override
int get foo => 0;
}
''', [
lint('unnecessary_overrides', 28, 8),
]);
} failing w/
|
Do you use the bleeding edge analyzer? I can run this test without a crash (it fails). test_X() async {
await assertNoErrorsInCode(r'''
enum A {
a,b,c;
@override
int get foo => 0;
}
''');
} |
Ah, yes. sorry, should have added that. I see a failure on bleeding edge (but no crash) too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-new-language-feature
No description provided.
The text was updated successfully, but these errors were encountered: