Index: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
index 2c8ba44958ccc2a8f73df3d31a5b310d4d0003d8..33b99ad901bbfe84b73e15d482c27021bb963274 100644 |
--- a/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart |
@@ -780,7 +780,8 @@ class ProgramBuilder { |
ResolutionDartType type, OutputUnit outputUnit) { |
if (type.containsTypeVariables) { |
js.Expression thisAccess = js.js(r'this.$receiver'); |
- return backend.rtiEncoder.getSignatureEncoding(type, thisAccess); |
+ return backend.rtiEncoder |
+ .getSignatureEncoding(backend.emitter.emitter, type, thisAccess); |
} else { |
return backend.emitter.metadataCollector |
.reifyTypeForOutputUnit(type, outputUnit); |