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

Unified Diff: dart/tests/language/src/ConstructorRedirectTest.dart

Issue 9663065: Fix ConstructorRedirectTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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
« no previous file with comments | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/src/ConstructorRedirectTest.dart
diff --git a/dart/tests/language/src/ConstructorRedirectTest.dart b/dart/tests/language/src/ConstructorRedirectTest.dart
index 68603654f84566c3167e1e10fe31bf1237d25166..1877e1b008ebb33db10cecbaf18c5fe884985c52 100644
--- a/dart/tests/language/src/ConstructorRedirectTest.dart
+++ b/dart/tests/language/src/ConstructorRedirectTest.dart
@@ -9,6 +9,8 @@ class A {
A.named(x, int y) : this(x + y);
A.named2(int x, int y, z) : this.named(staticFun(x, y), z);
+ static
kasperl 2012/03/12 12:14:36 Maybe add a comment that explain why this works?
ahe 2012/03/12 15:48:28 Done.
+ moreStaticFun() {} /// 01: compile-time error
int staticFun(int v1, int v2) {
return v1 * v2;
}
« no previous file with comments | « dart/tests/language/language-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698