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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java

Issue 10134035: Fix a bug that caused private names from an imported library to be included in the name scope of th… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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
Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
===================================================================
--- compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java (revision 6897)
+++ compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java (working copy)
@@ -56,7 +56,7 @@
private static CoreTypeProvider setupTypeProvider(DartUnit unit, TestCompilerContext context, Scope scope) {
new TopLevelElementBuilder().exec(unit.getLibrary(), unit, context);
- new TopLevelElementBuilder().fillInUnitScope(unit, context, scope);
+ new TopLevelElementBuilder().fillInUnitScope(unit, context, scope, true);
ClassElement object = (ClassElement) scope.findElement(null, "Object");
assertNotNull("Cannot resolve Object", object);
return new MockCoreTypeProvider(object);

Powered by Google App Engine
This is Rietveld 408576698