DescriptionRemoved permission to do `voidExpression is T` and `.. is! T`.
The informal spec of generalized void used to allow a `typeTest` on
an expression of type void. This CL removes that permission, thus
leaving only `as` as a narrow escape hatch from void, as decided at the
language team meeting on 2017-08-15.
R=lrn@google.com
Committed: https://github.com/dart-lang/sdk/commit/8514557c5ada0535f6e5d0e0ae854ed20e79ef6b
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|