Index: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart |
index d2b744cbdb7996852e0425c3391c94f113a3f301..f643acfc640bcedbcd3a6633ccd471238cf144a5 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/interceptor_emitter.dart |
@@ -391,11 +391,11 @@ class InterceptorEmitter extends CodeEmitterHelper { |
List<jsAst.Expression> elements = <jsAst.Expression>[]; |
JavaScriptConstantCompiler handler = backend.constants; |
- List<Constant> constants = |
+ List<ConstantValue> constants = |
handler.getConstantsForEmission(emitter.compareConstants); |
- for (Constant constant in constants) { |
- if (constant is TypeConstant) { |
- TypeConstant typeConstant = constant; |
+ for (ConstantValue constant in constants) { |
+ if (constant is TypeConstantValue) { |
+ TypeConstantValue typeConstant = constant; |
Element element = typeConstant.representedType.element; |
if (element is ClassElement) { |
ClassElement classElement = element; |