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 3fbdb0663f5ee60a58f971f6da3722c47ad3cb28..19afd3c12ba778faac1ec8c6ea0682404add256d 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
@@ -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 = <dynamic, ConstantValue>{ |
+ Map<dynamic, ConstantValue> fields = <dynamic, ConstantValue>{ |
field: argument |
}; |
return new ConstructedConstantValue(type, fields); |