Index: lib/html/scripts/systemnative.py |
diff --git a/lib/html/scripts/systemnative.py b/lib/html/scripts/systemnative.py |
index af51295ded949de03fe0bc43370a158572aeee24..a8b647c3acf6bc6adf99233c783fffc8147a3e8e 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 UnsupportedError("Cannot assign element of immutable List.");\n' |
' }\n', |
TYPE=dart_element_type) |