| Index: lib/compiler/implementation/lib/js_helper.dart
|
| diff --git a/lib/compiler/implementation/lib/js_helper.dart b/lib/compiler/implementation/lib/js_helper.dart
|
| index 8e0974f4ef0540aaf4efa6794eea9400ff0ba3d6..ac9a12a36ef54c99c2088af24be028370a51ce4b 100644
|
| --- a/lib/compiler/implementation/lib/js_helper.dart
|
| +++ b/lib/compiler/implementation/lib/js_helper.dart
|
| @@ -323,13 +323,13 @@ void indexSet$slow(var a, var index, var value) {
|
|
|
| checkMutable(list, reason) {
|
| if (JS('bool', r'!!(#.immutable$list)', list)) {
|
| - throw new UnsupportedOperationException(reason);
|
| + throw new UnsupportedError(reason);
|
| }
|
| }
|
|
|
| checkGrowable(list, reason) {
|
| if (JS('bool', r'!!(#.fixed$length)', list)) {
|
| - throw new UnsupportedOperationException(reason);
|
| + throw new UnsupportedError(reason);
|
| }
|
| }
|
|
|
| @@ -1048,7 +1048,7 @@ abstract class Dynamic_ {
|
| */
|
| class Null {
|
| factory Null() {
|
| - throw new UnsupportedOperationException('new Null()');
|
| + throw new UnsupportedError('new Null()');
|
| }
|
| }
|
|
|
|
|