Fix try (again!)

BUG=

Review URL: https://codereview.chromium.org//1341253002.
This commit is contained in:
Johnni Winther 2015-09-15 10:28:51 +02:00
parent b98cd40055
commit a158723177
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ class ScopeInformationVisitor extends BaseElementVisitor/* <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.

View file

@ -468,7 +468,7 @@ class ElementPropertyEquivalence extends BaseElementVisitor<dynamic, Element> {
void visitLibraryElement(LibraryElement element1, LibraryElement element2) {
checkElementIdentities(null, null, null, element1, element2);
check(element1, element2, 'name', element1.name, element2.name);
check(element1, element2, 'getLibraryName',
check(element1, element2, 'libraryName',
element1.libraryName, element2.libraryName);
visitMembers(element1, element2);
visit(element1.entryCompilationUnit, element2.entryCompilationUnit);