Index: runtime/lib/errors_patch.dart |
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart |
index 29c14f5c595012a5806b91e9bfc7d46cd711ca88..98814f8dff413ca96567b8366a1d8f46d06133ee 100644 |
--- a/runtime/lib/errors_patch.dart |
+++ b/runtime/lib/errors_patch.dart |
@@ -107,6 +107,12 @@ class _InternalError { |
final String _msg; |
} |
+patch class UnsupportedError { |
+ static _throwNew(String msg) { |
+ throw new UnsupportedError(msg); |
+ } |
+} |
+ |
patch class CyclicInitializationError { |
static _throwNew(String variableName) { |
throw new CyclicInitializationError(variableName); |