Index: compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
index 5ba837935920e617bd9c7473689d9652805370b4..fe120621fdb40a06b3b3168689d277a3d9823243 100644 |
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java |
@@ -712,8 +712,7 @@ public class ResolverTest extends ResolverTestCase { |
" var Bar;", |
" create() { return new Bar();}", |
"}"), |
- ResolverErrorCode.NOT_A_TYPE, |
- ResolverErrorCode.NEW_EXPRESSION_NOT_CONSTRUCTOR); |
+ ResolverErrorCode.NOT_A_TYPE); |
} |
public void testNewExpression4() { |
@@ -927,8 +926,7 @@ public class ResolverTest extends ResolverTestCase { |
" new Unknown();", |
" }", |
"}"), |
- ResolverErrorCode.NO_SUCH_TYPE, |
- ResolverErrorCode.NEW_EXPRESSION_NOT_CONSTRUCTOR); |
+ ResolverErrorCode.NO_SUCH_TYPE); |
} |
public void test_new_noSuchType_typeArgument() throws Exception { |
@@ -1063,7 +1061,6 @@ public class ResolverTest extends ResolverTestCase { |
" static bar() { T variable = 1; }", |
"}"), |
ResolverErrorCode.TYPE_VARIABLE_IN_STATIC_CONTEXT, |
- ResolverErrorCode.NEW_EXPRESSION_NOT_CONSTRUCTOR, |
TypeErrorCode.TYPE_VARIABLE_IN_STATIC_CONTEXT); |
} |