| Index: runtime/lib/errors_patch.dart
|
| diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
|
| index 29c14f5c595012a5806b91e9bfc7d46cd711ca88..aa429cc721ce2332bd2fb7c6ecd95c271845c744 100644
|
| --- a/runtime/lib/errors_patch.dart
|
| +++ b/runtime/lib/errors_patch.dart
|
| @@ -105,6 +105,15 @@ class _InternalError {
|
| const _InternalError(this._msg);
|
| String toString() => "InternalError: '${_msg}'";
|
| final String _msg;
|
| + static _throwNew(String msg) {
|
| + throw new _InternalError(msg);
|
| + }
|
| +}
|
| +
|
| +patch class UnsupportedError {
|
| + static _throwNew(String msg) {
|
| + throw new UnsupportedError(msg);
|
| + }
|
| }
|
|
|
| patch class CyclicInitializationError {
|
|
|