Index: pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
index 26d9a1339816acb8b7cd1b6671fd73f86c8cec13..1da1a032e8a139e1038df5c229835bf24c900560 100644 |
--- a/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart |
@@ -287,11 +287,11 @@ class InterceptorStubGenerator { |
return null; |
} |
- jsAst.Expression generateOneShotInterceptor(String name) { |
+ jsAst.Expression generateOneShotInterceptor(jsAst.Name name) { |
Selector selector = backend.oneShotInterceptors[name]; |
Set<ClassElement> classes = |
backend.getInterceptedClassesOn(selector.name); |
- String getInterceptorName = namer.nameForGetInterceptor(classes); |
+ jsAst.Name getInterceptorName = namer.nameForGetInterceptor(classes); |
List<String> parameterNames = <String>[]; |
parameterNames.add('receiver'); |
@@ -304,7 +304,7 @@ class InterceptorStubGenerator { |
} |
} |
- String invocationName = backend.namer.invocationName(selector); |
+ jsAst.Name invocationName = backend.namer.invocationName(selector); |
String globalObject = namer.globalObjectFor(backend.interceptorsLibrary); |
jsAst.Statement optimizedPath = |