Chromium Code Reviews| Index: runtime/lib/growable_array.dart |
| =================================================================== |
| --- runtime/lib/growable_array.dart (revision 22603) |
| +++ runtime/lib/growable_array.dart (working copy) |
| @@ -3,6 +3,8 @@ |
| // BSD-style license that can be found in the LICENSE file. |
| class _GrowableObjectArray<T> implements List<T> { |
| + static final int _clCid = []._cid; |
|
Ivan Posva
2013/05/13 22:12:37
Same problem about relying on the default List con
srdjan
2013/05/14 17:46:31
Done.
|
| + |
| factory _GrowableObjectArray._uninstantiable() { |
|
Ivan Posva
2013/05/13 22:12:37
Of topic: Is this constructor still needed here?
srdjan
2013/05/14 17:46:31
Removed
|
| throw new UnsupportedError( |
| "GrowableObjectArray can only be allocated by the VM"); |