-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Analyzer ignores all errors if a field parameter with type parameters is present in a constructor #46968
Labels
analyzer-crash-report
Issues which have been reported due to an analysis server crash
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
Comments
lrhn
added
the
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
label
Aug 24, 2021
I believe what happens here is that this code crashes the analyzer, so it fails to report any diagnostics.
|
scheglov
added
analyzer-crash-report
Issues which have been reported due to an analysis server crash
P2
A bug or feature request we're likely to work on
labels
Aug 26, 2021
dart-bot
pushed a commit
that referenced
this issue
Aug 26, 2021
…ter has type parameters. Bug: #46968 Change-Id: I20ba948b26040e00635612f52af7cf7e51230695 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211465 Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
analyzer-crash-report
Issues which have been reported due to an analysis server crash
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
Running
dart analyze
on the following code should show various errors:However the analyzer reports
No issues found!
. For exampledart run
does find these errors though. If the constructor is removed, the errors are reported correctly by the analyzer.Output of
dart --version
:Dart SDK version: 2.14.0-301.0.dev (dev) (Sat Jul 10 17:56:59 2021 -0700) on "linux_x64"
The text was updated successfully, but these errors were encountered: