Chromium Code Reviews| Index: tests/language/get_set_syntax_test.dart |
| =================================================================== |
| --- tests/language/get_set_syntax_test.dart (revision 11538) |
| +++ tests/language/get_set_syntax_test.dart (working copy) |
| @@ -22,7 +22,7 @@ |
| class C1 { |
| List get; |
| - List get a; /// 08: compile-time error |
| + List get a; |
|
regis
2012/08/29 20:58:27
You could add an
abstract List get a2;
hausner
2012/08/29 21:56:12
Done.
|
| List get b, c; /// 09: compile-time error |
| List set; |
| @@ -32,7 +32,7 @@ |
| class C2 { |
| List<int> get; |
| - List<int> get a; /// 12: compile-time error |
| + List<int> get a; |
| List<int> get b, c; /// 13: compile-time error |
| List<int> set; |
| @@ -41,7 +41,4 @@ |
| } |
| main() { |
| - new C0(); |
|
regis
2012/08/29 20:58:27
You could keep them:
new C0(); /// 16: compile-ti
hausner
2012/08/29 21:56:12
Good idea. At least one of them.
|
| - new C1(); |
| - new C2(); |
| } |