Chromium Code Reviews| 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; |
| } |