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 a6c646489275bc17e584f50d9e5e42d6d4dc8508..c2cc676f73143657e410f3684d42c85b2a1d2ed8 100644 |
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java |
@@ -1199,21 +1199,4 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase { |
analyzeFail("while ('') {}", |
TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE); |
} |
- |
- public void testStringConcat() { |
- Map<String, ClassNodeElement> source = loadSource( |
- "class Object {}", |
- "abstract class Foo {", |
- " operator +(arg1);" + |
- "}", |
- "Foo a = new Foo();", |
- "Foo b = new Foo();", |
- "String s = 'foo';"); |
- analyzeClasses(source); |
- analyze("{ var c = a + b; }"); |
- analyze("{ var c = s + b; }"); |
- analyzeFail("var c = 'foo' + 1;", |
- TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE); |
- analyze("var c = 'foo' + 'bar';"); |
- } |
} |