Index: pkg/compiler/lib/src/common/codegen.dart |
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart |
index 00b49253ea2e503d2e39491961a18c8b021b4702..4fcf7b8ef8bdc7f81164ed4bc4b09da004b97748 100644 |
--- a/pkg/compiler/lib/src/common/codegen.dart |
+++ b/pkg/compiler/lib/src/common/codegen.dart |
@@ -147,7 +147,7 @@ class CodegenRegistry { |
worldImpact.registerTypeVariableBoundsSubtypeCheck(subtype, supertype); |
} |
- void registerInstantiatedClosure(LocalFunctionElement element) { |
+ void registerInstantiatedClosure(Local element) { |
sra1
2017/07/28 20:38:51
assert this is a function that can be used to find
Emily Fortuna
2017/07/28 21:37:06
You're right, this isn't an easy fix. I put it bac
Johnni Winther
2017/07/31 10:54:28
It is okay to use [Local] here. Long term we shoul
|
worldImpact.registerStaticUse(new StaticUse.closure(element)); |
} |