Index: pkg/compiler/lib/src/kernel/kernel.dart |
diff --git a/pkg/compiler/lib/src/kernel/kernel.dart b/pkg/compiler/lib/src/kernel/kernel.dart |
index 3b403b7684224c467bee58ed861743b30d3fa30f..9cd50e20bc2fc1f75d823e8704162c271e797346 100644 |
--- a/pkg/compiler/lib/src/kernel/kernel.dart |
+++ b/pkg/compiler/lib/src/kernel/kernel.dart |
@@ -408,7 +408,7 @@ class Kernel { |
} |
function = function.declaration; |
return functions.putIfAbsent(function, () { |
- compiler.analyzeElement(function); |
+ compiler.resolution.ensureResolved(function); |
compiler.enqueuer.resolution.emptyDeferredQueueForTesting(); |
function = function.implementation; |
ir.Member member; |
@@ -506,7 +506,7 @@ class Kernel { |
} |
field = field.declaration; |
return fields.putIfAbsent(field, () { |
- compiler.analyzeElement(field); |
+ compiler.resolution.ensureResolved(field); |
compiler.enqueuer.resolution.emptyDeferredQueueForTesting(); |
field = field.implementation; |
ir.DartType type = |