Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SemanticTest.java

Issue 137143010: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698