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

Unified Diff: pkg/fletchc/lib/incremental/scope_information_visitor.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month 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
Index: pkg/fletchc/lib/incremental/scope_information_visitor.dart
diff --git a/pkg/fletchc/lib/incremental/scope_information_visitor.dart b/pkg/fletchc/lib/incremental/scope_information_visitor.dart
index a269461f6b4cca6150d0ca1edfe03b8625077e45..fe4090208f54b9493572149ace2ee3f2f48b955b 100644
--- a/pkg/fletchc/lib/incremental/scope_information_visitor.dart
+++ b/pkg/fletchc/lib/incremental/scope_information_visitor.dart
@@ -9,7 +9,7 @@ import 'package:compiler/src/elements/modelx.dart' as modelx;
import 'package:compiler/src/elements/visitor.dart' show
ElementVisitor;
-import 'package:compiler/src/dart2jslib.dart' show
+import 'package:compiler/src/compiler.dart' show
Compiler;
import 'package:compiler/src/elements/elements.dart' show
@@ -71,7 +71,7 @@ class ScopeInformationVisitor extends ElementVisitor/* <void> */ {
// TODO(ahe): We omit the import scope if there is no current
// class. That's wrong.
omitEnclosing: ignoreImports || currentClass == null,
- name: e.getLibraryName(),
+ name: e.libraryName,
serializeEnclosing: () {
// The enclosing scope of a library is a scope which contains all the
// imported names.
@@ -117,7 +117,7 @@ class ScopeInformationVisitor extends ElementVisitor/* <void> */ {
{bool isStatic: false,
bool omitEnclosing: false,
bool includeSuper: false}) {
- e.ensureResolved(compiler);
+ e.ensureResolved(compiler.resolution);
bool isFirst = true;
var serializeEnclosing;
String kind;

Powered by Google App Engine
This is Rietveld 408576698