-
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 issue with optional new and generic types on methods. #33647
Comments
/cc @bwilkerson |
@danrubel Could you check this on the fasta parser? |
tagging P1, this is blocking flutter/flutter#18604 |
@a14n, thanks for the reduced case! I'm curious, where did this occur in the Flutter codebase? |
@devoncarew what the status on this? Anyone working on resolving it? |
I'm spinning back up after a week off. I'll try to repro with the fasta parser. |
The fasta parser correctly handles this case where as the old parser does not. |
If we're going to move to the fasta parser as quickly as I think we will, then it probably isn't worth fixing the old parser. |
I agree, @bwilkerson . Moving to Dart 2.1 milestone. |
The fasta parser correctly handles the code specified in #33647 Change-Id: I690311ce031e458dc9c5ea978c954ba7a4b60262 Reviewed-on: https://dart-review.googlesource.com/64200 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>
cc @dgrove this one is blocking flutter/flutter#18604 which in turn is blocking https://github.com/dart-lang/sdk/issues/32596m which is 2.0 stable. If we were to punt this, when would we get the needed support via fasta? |
This would likely happen soon after the dart 2 branch, in the neighborhood of days after. |
Do we know if Flutter would track the master or stable branch? |
Yes we will continue to actively roll Dart from top of tree into Flutter on a regular basis. |
To update, this is blocked on #33543. |
#33543 has been closed. Can this be? |
In the following code:
dartanalyzer
displays errors onc
variable because of the type argument on.then
.The text was updated successfully, but these errors were encountered: