| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| index d5860656129c8585d0f4041ca167e264d326bc4a..1f1ae2dc16f163f0ad6d33469076faccaec97543 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| @@ -1012,6 +1012,23 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| }
|
|
|
| /**
|
| + * <p>
|
| + * http://code.google.com/p/dart/issues/detail?id=3182
|
| + */
|
| + public void test_extendNotType() throws Exception {
|
| + AnalyzeLibraryResult libraryResult = analyzeLibrary(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "int A;",
|
| + "class B extends A {",
|
| + "}",
|
| + "",
|
| + "");
|
| + assertErrors(
|
| + libraryResult.getErrors(),
|
| + errEx(ResolverErrorCode.NOT_A_TYPE, 3, 17, 1));
|
| + }
|
| +
|
| + /**
|
| * Test for variants of {@link DartMethodDefinition} return types.
|
| */
|
| public void test_methodReturnTypes() throws Exception {
|
|
|