| 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 67bd0a8763d56f8a2e149f3625b80073c4177070..4463899ccc11bc8249ad6edd881126aab426bbf4 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| @@ -19,7 +19,6 @@ import java.util.Map;
|
| */
|
| public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
|
|
| -
|
| /**
|
| * There was problem that cyclic class declaration caused infinite loop.
|
| * <p>
|
| @@ -1275,6 +1274,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
|
|
| public void testUnresolved() {
|
| ClassElement element = loadClass("class_with_supertypes.dart", "ClassWithSupertypes");
|
| + analyzeIn(element, "this.field", 0);
|
| analyzeIn(element, "null", 0);
|
| analyzeIn(element, "noSuchField", 1);
|
| analyzeIn(element, "noSuchMethod()", 1);
|
| @@ -1283,7 +1283,6 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
| analyzeIn(element, "this.noSuchField", 1);
|
| analyzeIn(element, "this.noSuchMethod()", 1);
|
| analyzeIn(element, "this.method()", 0);
|
| - analyzeIn(element, "this.field", 0);
|
| analyzeIn(element, "staticMethod()", 0);
|
| analyzeIn(element, "staticField", 0);
|
| analyzeIn(element, "this.staticMethod()", 1);
|
| @@ -1363,7 +1362,6 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
| TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE);
|
| }
|
|
|
| -
|
| public void testValidateFactoryBounds() {
|
| Map<String, ClassElement> source = loadSource(
|
| "class Object {}",
|
|
|