| Index: lib/html/scripts/systemnative.py
|
| diff --git a/lib/html/scripts/systemnative.py b/lib/html/scripts/systemnative.py
|
| index 724595cfdaec4cf61c0b027f7118551a57e4272d..3cc1ec7041936b41cea0658cc6862d0c81e34c34 100644
|
| --- a/lib/html/scripts/systemnative.py
|
| +++ b/lib/html/scripts/systemnative.py
|
| @@ -383,7 +383,7 @@ class DartiumBackend(object):
|
| self._members_emitter.Emit(
|
| '\n'
|
| ' void operator[]=(int index, $TYPE value) {\n'
|
| - ' throw new UnsupportedOperationException("Cannot assign element of immutable List.");\n'
|
| + ' throw new StateError("Cannot assign element of immutable List.");\n'
|
| ' }\n',
|
| TYPE=dart_element_type)
|
|
|
|
|