Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: site/try/poi/scope_information_visitor.dart

Issue 1376413002: Fix try (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dart2js_incremental/lib/library_updater.dart ('k') | tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/dart2js_incremental/lib/library_updater.dart ('k') | tests/try/poi/apply_updates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698