| 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 734e27738812240a20a18a1bb45c2d2edd120166..ba4acaafee5cff0d5f214be47be10e309f5f9404 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| @@ -1216,12 +1216,12 @@ public class TypeAnalyzerTest extends TypeTestCase {
|
| Map<String, ClassElement> classes = loadSource(
|
| "class GoodField {",
|
| " static final int i = 1;",
|
| - "}",
|
| - "class BadField {",
|
| - " static final int i = '';",
|
| "}");
|
| analyzeClass(classes.get("GoodField"), 0);
|
| - analyzeClass(classes.get("BadField"), 1);
|
| +
|
| + // Note, the TypeAnalyzer doesn't get a chance
|
| + // to get its hands on bad initializers anymore
|
| + // due to type checking in CompileTimeConstVisitor.
|
| }
|
|
|
| public void testGetAllSupertypes()
|
|
|