-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
language_2/extension_methods/static_extension_syntax_test.dart #37765
Comments
I think this is an analyzer bug: #34777 . |
Then I'll close this issue. Thanks! |
Actually, I think that test is bogus. That should be a static error. |
|
Analyzer is now reporting two errors that I believe to be errors in the test:
There is also one error being reported that might be an error in analyzer:
It looks like analyzer might be resolving to bounds too soon, but I'd appreciate it if you could look at it and confirm that there should not be an error there. |
Definitely not a correct error, and I don't see this with a bleeding edge build so maybe a local regression? |
The test language_2/extension_methods/static_extension_syntax_test.dart defines a class (line 163):
and declares a local variable:
I believe that the type argument
Object
is not valid here becauseObject
is not aRec<T>
.@lrhn @leafpetersen
The text was updated successfully, but these errors were encountered: