-
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
void
arrow functions should allow any rhs type
#28939
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
area-meta
Cross-cutting, high-level issues (for tracking many other implementation issues, ...).
Comments
This was referenced Mar 1, 2017
Closed
Punting to 1.24 per dart-leads discussion. |
Punting to 1.25, in agreement with Kasper: The spec part was moved to 1.25 and this meta issue awaits that. The implementation parts are being landed for 1.24. |
This was referenced May 18, 2017
eernstg
added a commit
that referenced
this issue
May 18, 2017
Addresses sdk issue #29646. R=floitsch@google.com Review-Url: https://codereview.chromium.org/2887253003 .
4 tasks
eernstg
added a commit
that referenced
this issue
May 24, 2017
The older issue #28939 did not mention setters. They were already covered in the implementation, so this CL just adds testing for it. Addresses issue #29680. R=floitsch@google.com, johnniwinther@google.com Review-Url: https://codereview.chromium.org/2899683003 .
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
area-meta
Cross-cutting, high-level issues (for tracking many other implementation issues, ...).
It is no longer a static type warning if an arrow function (declared with
=>
) has a body which is an expression of a type that is not assignable tovoid
.void
arrow functions should allow any rhs type #28941void
arrow functions should allow any rhs type #28940void
arrow functions should allow any rhs type #28942void
arrow functions should allow any rhs type #29646.The text was updated successfully, but these errors were encountered: