Index: lib/compiler/implementation/lib/js_helper.dart |
=================================================================== |
--- lib/compiler/implementation/lib/js_helper.dart (revision 14460) |
+++ lib/compiler/implementation/lib/js_helper.dart (working copy) |
@@ -1375,6 +1375,8 @@ |
propertyTypeCastError(value, property); |
} |
+voidTypeCheck(value) => identical(value, null); |
kasperl
2012/11/02 12:53:05
This may be what the spec says today, but I still
sra1
2012/11/02 20:13:51
We *do* want to allow
void foo() => bar();
Th
|
+ |
/** |
* Special interface recognized by the compiler and implemented by DOM |
* objects that support integer indexing. This interface is not |