Index: sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
index e8621a5d91c28c3d0ddf9cfba946603834757f0c..c794105b053d8567f229e3f97185362823e9810b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
@@ -209,7 +209,8 @@ class ConstantEmitter implements ConstantVisitor { |
Element element = type.element; |
String typeName; |
if (type.kind == TypeKind.INTERFACE) { |
- typeName = backend.rti.generateRuntimeTypeString(element, 0); |
+ typeName = |
+ backend.rti.getStringRepresentation(type, expandRawType: true); |
} else { |
assert(type.kind == TypeKind.TYPEDEF); |
typeName = element.name.slowToString(); |