| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| index 5521c5012bd7cb3f9cd8f64dd83982f657d77a34..4d97b2d41541ea681fe0293260ab21e0d6ab9955 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| @@ -1067,7 +1067,6 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
|
|
| public void testSwitch() {
|
| analyze("{ int i = 27; switch(i) { case i: break; } }");
|
| - analyze("{ num i = 27; switch(i) { case i: break; } }");
|
| analyzeFail(
|
| "{ switch(true) { case 1: break; case 'foo': break; }}",
|
| TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE);
|
|
|