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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java

Issue 10957040: Allow static fields without types (issue 5149) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java
===================================================================
--- compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java (revision 12716)
+++ compiler/javatests/com/google/dart/compiler/parser/SyntaxTest.java (working copy)
@@ -105,6 +105,23 @@
"}"));
}
+// public void test_cascade2() {
+// DartUnit unit = parseUnit("cascade.dart", Joiner.on("\n").join(
+// "class A {",
+// " B b;",
+// "}",
+// "",
+// "class B {",
+// " void m() {}",
+// "}",
+// "",
+// "main() {",
+// " A a;",
+// " a..b.m()..b.m();",
+// "}"));
+// assertNotNull(unit);
+// }
+
public void test_assertStatement() {
DartUnit unit = parseUnit("function.dart", Joiner.on("\n").join(
"main() {",

Powered by Google App Engine
This is Rietveld 408576698