Index: pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
index 9539cf68e8d657326fe873da5bafd78ee08f41be..6a55d08c638de8cd58915dbdac314c2720839d86 100644 |
--- a/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/new_emitter/emitter.dart |
@@ -143,16 +143,16 @@ class Emitter implements emitterTask.Emitter { |
case JsBuiltin.isFunctionTypeLiteral: |
String functionClassName = |
- _backend.namer.runtimeTypeName(compiler.functionClass); |
+ _backend.namer.runtimeTypeName(_compiler.functionClass); |
- return jsAst.js.expressionTemplateFor( |
+ return js.js.expressionTemplateFor( |
'#.$typeNameProperty === "$functionClassName"'); |
case JsBuiltin.typeName: |
- return jsAst.js.expressionTemplateFor("#.$typeNameProperty"); |
+ return js.js.expressionTemplateFor("#.$typeNameProperty"); |
case JsBuiltin.rawRuntimeType: |
- return jsAst.js.expressionTemplateFor("#.constructor"); |
+ return js.js.expressionTemplateFor("#.constructor"); |
case JsBuiltin.createFunctionType: |
return _backend.rti.representationGenerator |