| 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 a57a4f519db12a16505a51503f6f6d8cae52f9fd..90d8486b616ffea24f0a44448200bf30aab0862c 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
|
| @@ -823,8 +823,7 @@ public class ResolverTest extends ResolverTestCase {
|
| " try {",
|
| " 0.25 - f;",
|
| " } catch(e) {}",
|
| - "}"),
|
| - ResolverErrorCode.CANNOT_USE_TYPE);
|
| + "}"));
|
| }
|
|
|
| public void test_classUsedAsExpression() {
|
| @@ -841,11 +840,11 @@ public class ResolverTest extends ResolverTestCase {
|
| "class A<B> {",
|
| " var field = B;",
|
| " f() {",
|
| - " 0.25 - B;",
|
| + " process(x);",
|
| " }",
|
| - "}"),
|
| - ResolverErrorCode.TYPE_VARIABLE_NOT_ALLOWED_IN_IDENTIFIER,
|
| - ResolverErrorCode.TYPE_VARIABLE_NOT_ALLOWED_IN_IDENTIFIER);
|
| + "}",
|
| + "process(x) {}",
|
| + ""));
|
| }
|
|
|
| public void test_shadowType_withVariable() throws Exception {
|
|
|