Index: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
index ffdecb7c42653ef8901b508f36a758dfa86a81c4..46d1de62d6d8a92f00e5f882464e011508bfe531 100644 |
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart |
@@ -383,6 +383,10 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ |
Map max([int compare(Map a, Map b)]) => |
IterableMixinWorkaround.max(this, compare); |
+ void insert(int index, Map element) { |
+ throw new UnsupportedError("Cannot add to immutable List."); |
+ } |
+ |
Map removeAt(int pos) { |
throw new UnsupportedError("Cannot remove from immutable List."); |
} |