| 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 a961599608584f2ed9c6f2226afca6ad0a82006d..ca06ae82a8af3f9da431204c0714521cc53263a8 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 StateError(reason);
|
| }
|
| }
|
|
|
| checkGrowable(list, reason) {
|
| if (JS('bool', r'!!(#.fixed$length)', list)) {
|
| - throw new UnsupportedOperationException(reason);
|
| + throw new StateError(reason);
|
| }
|
| }
|
|
|
| @@ -1052,7 +1052,7 @@ abstract class Dynamic_ {
|
| */
|
| class Null {
|
| factory Null() {
|
| - throw new UnsupportedOperationException('new Null()');
|
| + throw new StateError('new Null()');
|
| }
|
| }
|
|
|
|
|