mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 19:18:27 +00:00
Fix try (again!)
BUG= Review URL: https://codereview.chromium.org//1341253002.
This commit is contained in:
parent
b98cd40055
commit
a158723177
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue