| 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 601edbbfd6cf291b0ad76e470de090312ebd6e10..445482faaae2cf37f35f3709c43bafc707290b5f 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| @@ -4328,6 +4328,17 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| errEx(ParserErrorCode.EXTERNAL_METHOD_BODY, 6, 26, 2));
|
| }
|
|
|
| + public void test_cascade_type() throws Exception {
|
| + analyzeLibrary(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "main() {",
|
| + " String s = '';",
|
| + " var v = s..length;",
|
| + "}",
|
| + "");
|
| + assertInferredElementTypeString(testUnit, "v", "String");
|
| + }
|
| +
|
| /**
|
| * <p>
|
| * http://code.google.com/p/dart/issues/detail?id=4315
|
|
|