| Index: runtime/lib/error.dart
|
| diff --git a/runtime/lib/error.dart b/runtime/lib/error.dart
|
| index 8b3318590b3b720f60c869954aea03ec27c39a9a..29a071a670d6e6f2c6fe998972cd3fdf4451a809 100644
|
| --- a/runtime/lib/error.dart
|
| +++ b/runtime/lib/error.dart
|
| @@ -4,8 +4,8 @@
|
| // Errors are created and thrown by DartVM only.
|
| // Changes here should also be reflected in corelib/error.dart as well
|
|
|
| -class AssertionError {
|
| - factory AssertionError._uninstantiable() {
|
| +class AssertionErrorImplementation extends AssertionError {
|
| + factory AssertionErrorImplementation._uninstantiable() {
|
| throw const UnsupportedOperationException(
|
| "AssertionError can only be allocated by the VM");
|
| }
|
| @@ -21,7 +21,7 @@ class AssertionError {
|
| final int column;
|
| }
|
|
|
| -class TypeError extends AssertionError {
|
| +class TypeError extends AssertionErrorImplementation {
|
| factory TypeError._uninstantiable() {
|
| throw const UnsupportedOperationException(
|
| "TypeError can only be allocated by the VM");
|
|
|