Index: runtime/lib/errors_patch.dart |
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart |
index 77251fecb08b8b081c8399a98dac8b0df31d7c3d..961f71c4a677a2f32346c152417d36ca02b7fb45 100644 |
--- a/runtime/lib/errors_patch.dart |
+++ b/runtime/lib/errors_patch.dart |
@@ -358,3 +358,10 @@ class _InternalError { |
return msg_buf.toString(); |
} |
} |
+ |
+ |
+class _CompileTimeError extends Error { |
+ final String _errorMsg; |
+ _CompileTimeError(this._errorMsg); |
+ String toString() => _errorMsg; |
+} |