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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeTestCase.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/type/TypeTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
index 679f4c94efe0e1f60dac98fb52bee32d3728bffb..01d358f22cb9c97418b890e411db4d13a8b8e6f3 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeTestCase.java
@@ -107,8 +107,7 @@ abstract class TypeTestCase extends TestCase {
}
static TypeVariable typeVar(String name, Type bound) {
- TypeVariableElement element = Elements.typeVariableElement(null, name, null);
- element.setBound(bound);
+ TypeVariableElement element = Elements.typeVariableElement(name, bound);
return new TypeVariableImplementation(element);
}

Powered by Google App Engine
This is Rietveld 408576698