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 4a49f215e0185bbb4ae1f827da2c6027803f828d..c3cff04c73932dca47aed52636e49f0918d23956 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
@@ -326,7 +326,7 @@ class ConstantInitializerEmitter implements ConstantVisitor<jsAst.Expression> { |
jsAst.Expression value) { |
if (type is InterfaceType && |
!type.isRaw && |
- backend.needsRti(type.element)) { |
+ backend.classNeedsRti(type.element)) { |
InterfaceType interface = type; |
RuntimeTypes rti = backend.rti; |
Iterable<String> arguments = interface.typeArguments |