Index: pkg/compiler/lib/src/js_backend/constant_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_emitter.dart b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
index 0a47aac51bb5daa6d68f71c656613b8af4760ea4..f4a7110df7d55abc59785260c1865f8fc8dc4ccd 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_emitter.dart |
@@ -346,7 +346,8 @@ class ConstantEmitter implements ConstantValueVisitor<jsAst.Expression, Null> { |
List<jsAst.Expression> arguments = <jsAst.Expression>[]; |
RuntimeTypesEncoder rtiEncoder = backend.rtiEncoder; |
for (ResolutionDartType argument in type.typeArguments) { |
- arguments.add(rtiEncoder.getTypeRepresentation(argument, unexpected)); |
+ arguments.add(rtiEncoder.getTypeRepresentation( |
+ backend.emitter.emitter, argument, unexpected)); |
} |
return new jsAst.ArrayInitializer(arguments); |
} |