| Index: lib/compiler/implementation/compile_time_constants.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/compile_time_constants.dart (revision 6686)
|
| +++ lib/compiler/implementation/compile_time_constants.dart (working copy)
|
| @@ -247,6 +247,7 @@
|
|
|
| int hashCode() => _hashCode;
|
| DartString toDartString() => value;
|
| + int get length() => value.length;
|
| }
|
|
|
| class ObjectConstant extends Constant {
|
| @@ -307,6 +308,8 @@
|
| int hashCode() => _hashCode;
|
|
|
| List<Constant> getDependencies() => entries;
|
| +
|
| + int get length() => entries.length;
|
| }
|
|
|
| class MapConstant extends ObjectConstant {
|
| @@ -418,6 +421,8 @@
|
| result.addAll(values);
|
| return result;
|
| }
|
| +
|
| + int get length() => keys.length;
|
| }
|
|
|
| class ConstructedConstant extends ObjectConstant {
|
|
|