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

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

Issue 9692002: Step back and remove more getNode() invocations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
index b4717d170cfc0ec3536c28b6b8eb85e1f500debc..7bb3c8bd2e00069856697a44460625a23283ecf4 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
@@ -55,7 +55,7 @@ abstract class ResolverTestCase extends TestCase {
}
private static CoreTypeProvider setupTypeProvider(DartUnit unit, TestCompilerContext context, Scope scope) {
- new TopLevelElementBuilder().exec(unit, context);
+ new TopLevelElementBuilder().exec(unit.getLibrary(), unit, context);
new TopLevelElementBuilder().fillInUnitScope(unit, context, scope);
ClassElement object = (ClassElement) scope.findElement(null, "Object");
assertNotNull("Cannot resolve Object", object);

Powered by Google App Engine
This is Rietveld 408576698