Descriptionhttps://code.google.com/p/dart/issues/detail?id=182
Dart Spec, section "Type Void" (excerpt):
"On the other hand, it is possible to return the result of a void method from within a void method. One can also return null; or a value of type Dynamic. Returning any other result will cause a type warning (or a dynamic type error in checked mode)." (only reference to the subject - non-normative)
Committed: https://code.google.com/p/dart/source/detail?r=1200
Patch Set 1 : '' #
Messages
Total messages: 2 (0 generated)
|