| Index: lib/compiler/implementation/compile_time_constants.dart
|
| diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart
|
| index 4a1fd7be4e0106ffc02dd5656c2f4c227292be53..d733020f0b68262cc038362ea60dae16a543d4e2 100644
|
| --- a/lib/compiler/implementation/compile_time_constants.dart
|
| +++ b/lib/compiler/implementation/compile_time_constants.dart
|
| @@ -767,7 +767,7 @@ class CompileTimeConstantEvaluator extends AbstractVisitor {
|
| ClassElement classElement = compiler.jsHelperLibrary.find(className);
|
| classElement.ensureResolved(compiler);
|
| // TODO(floitsch): copy over the generic type.
|
| - Type type = new SimpleType(classElement.name, classElement);
|
| + Type type = new InterfaceType(classElement.name, classElement);
|
| compiler.registerInstantiatedClass(classElement);
|
| Constant constant = new MapConstant(type, keysList, values, protoValue);
|
| compiler.constantHandler.registerCompileTimeConstant(constant);
|
|
|