-
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
NPE in ConstVariableElement.computeConstantValue(element.dart:1653) #47915
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
scheglov
added
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
analyzer-crash-report
Issues which have been reported due to an analysis server crash
labels
Dec 14, 2021
OTOH, I was not able to reproduce it, so https://dart-review.googlesource.com/c/sdk/+/223743 |
copybara-service bot
pushed a commit
that referenced
this issue
Dec 14, 2021
Bug: #47915 Change-Id: I726bc85a9459acbb4f6d94b9112bc808d7666a53 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/223743 Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
May 1, 2023
…eters that are not allowed to have default values. Bug: #47915 Change-Id: I708775ca29bf9efdfdf798eb4b622f1308f2b00c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/300140 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
It does not happen with latest build if Dart SDK, so I conclude that the issue was fixed. |
This is still being reported, with the extra data added in the CL referenced above:
|
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
I think this happens when a generic method is invoked, and we create synthetic
ParameterElement
s, which don't haveenclosingElement
, solibrary
isnull
.The text was updated successfully, but these errors were encountered: