Index: site/try/poi/scope_information_visitor.dart |
diff --git a/site/try/poi/scope_information_visitor.dart b/site/try/poi/scope_information_visitor.dart |
index 5ae18eeb85517c1bca121b84519d8edc3d83feb1..5f1b5a19560a66ae3dcba01745f9537e87a83fb5 100644 |
--- a/site/try/poi/scope_information_visitor.dart |
+++ b/site/try/poi/scope_information_visitor.dart |
@@ -120,7 +120,7 @@ class ScopeInformationVisitor extends BaseElementVisitor/* <void> */ { |
{bool isStatic: false, |
bool omitEnclosing: false, |
bool includeSuper: false}) { |
- e.ensureResolved(compiler); |
+ e.ensureResolved(compiler.resolution); |
bool isFirst = true; |
var serializeEnclosing; |
String kind; |
@@ -231,7 +231,7 @@ class ScopeInformationVisitor extends BaseElementVisitor/* <void> */ { |
if (category == ElementCategory.FUNCTION || |
category == ElementCategory.VARIABLE || |
element.isConstructor) { |
- type = element.computeType(compiler); |
+ type = element.computeType(compiler.resolution); |
} |
if (name == null) { |
name = element.name; |