| Index: pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| index 4b3cb36c54632089aa5244b257bc187e9a7244fa..3fbdb0663f5ee60a58f971f6da3722c47ad3cb28 100644
|
| --- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart
|
| @@ -359,7 +359,7 @@ class JavaScriptConstantSystem extends ConstantSystem {
|
| bool onlyStringKeys = true;
|
| ConstantValue protoValue = null;
|
| for (int i = 0; i < keys.length; i++) {
|
| - var key = keys[i];
|
| + dynamic key = keys[i];
|
| if (key.isString) {
|
| if (key.primitiveValue == JavaScriptMapConstant.PROTO_PROPERTY) {
|
| protoValue = values[i];
|
| @@ -393,7 +393,7 @@ class JavaScriptConstantSystem extends ConstantSystem {
|
| ConstantValue argument = createString(text);
|
| // TODO(johnniwinther): Use type arguments when all uses no longer expect
|
| // a [FieldElement].
|
| - Map<FieldEntity, ConstantValue> fields = /*<FieldElement, ConstantValue>*/ {
|
| + Map<FieldEntity, ConstantValue> fields = <dynamic, ConstantValue>{
|
| field: argument
|
| };
|
| return new ConstructedConstantValue(type, fields);
|
|
|