| Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
|
| diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
|
| index 5b0d7caad05fbe609f71a803104b187edf3fb71e..5ecf348cce25b107fd79d7d5654aab5ca4cc0e91 100644
|
| --- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
|
| +++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java
|
| @@ -379,6 +379,7 @@ public class SemanticTest extends AbstractSemanticTest {
|
| " void test() {",
|
| " A.this.outerField = 5;",
|
| " A.this.outerMethod();",
|
| + " test3(A.this);",
|
| " }",
|
| " }",
|
| " int outerField;",
|
| @@ -386,6 +387,8 @@ public class SemanticTest extends AbstractSemanticTest {
|
| " B test2() {",
|
| " return new B();",
|
| " }",
|
| + " void test3(A) {",
|
| + " }",
|
| "}"));
|
| Context context = new Context();
|
| context.addSourceFolder(tmpFolder);
|
| @@ -399,6 +402,8 @@ public class SemanticTest extends AbstractSemanticTest {
|
| " void outerMethod() {",
|
| " }",
|
| " A_B test2() => new A_B(this);",
|
| + " void test3() {",
|
| + " }",
|
| "}",
|
| "class A_B {",
|
| " final A A_this;",
|
| @@ -406,6 +411,7 @@ public class SemanticTest extends AbstractSemanticTest {
|
| " void test() {",
|
| " A_this.outerField = 5;",
|
| " A_this.outerMethod();",
|
| + " A_this.test3(A_this);",
|
| " }",
|
| "}"),
|
| getFormattedSource(unit));
|
|
|