Index: tool/input_sdk/lib/internal/list.dart |
diff --git a/tool/input_sdk/lib/internal/list.dart b/tool/input_sdk/lib/internal/list.dart |
index 36322034efa5cac3b53040fe9d81e483b45c3c00..6e975e0d0cf930ed760725b4077c7e9d002c0148 100644 |
--- a/tool/input_sdk/lib/internal/list.dart |
+++ b/tool/input_sdk/lib/internal/list.dart |
@@ -123,7 +123,7 @@ abstract class UnmodifiableListMixin<E> implements List<E> { |
} |
/** This operation is not supported by an unmodifiable list. */ |
- E insert(int index, E value) { |
+ void insert(int index, E element) { |
throw new UnsupportedError( |
"Cannot add to an unmodifiable list"); |
} |