DescriptionWhen a closure is extracted as a method, it does not have any return type.
But it should not be returned as 'void'.
It should be an empty string, as any other method with unknown return type.
I guess we could improve this in the future, e.g. promote type of a returned expression into the signature.
R=brianwilkerson@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=44177
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|