You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to void.
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
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.
Activity
void
arrow functions should allow any rhs type #28940void
arrow functions should allow any rhs type #28941void
arrow functions should allow any rhs type #28942void
. #28943mit-mit commentedon Mar 15, 2017
Punting to 1.24 per dart-leads discussion.
eernstg commentedon May 10, 2017
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.
void
should allow any value. #28935void
arrow functions should allow any rhs type #29646Announced #28939 (`void f() => e` allows an e of any type) in changelog
void
arrow setters should allow any rhs type #29679Included setters in testing of the void => return-any-type feature.