Index: compiler/lib/implementation/core.dart |
=================================================================== |
--- compiler/lib/implementation/core.dart (revision 409) |
+++ compiler/lib/implementation/core.dart (working copy) |
@@ -40,6 +40,10 @@ |
static TypeError createTypeError(String srcType, String dstType) native { |
return new TypeError(srcType, dstType); |
} |
+ |
+ static AssertionError createAssertionError() native { |
+ return new AssertionError(); |
+ } |
} |
class _CoreJsUtil { |