| 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);
|
| }
|
|
|
|
|