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

Side by Side Diff: tests/language/get_set_syntax_test.dart

Issue 10910284: Stop making classes implicitly abstract (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/language/abstract_getter_test.dart ('k') | tests/language/implicit_this_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 var get; 5 var get;
6 var get a; /// 00: compile-time error 6 var get a; /// 00: compile-time error
7 var get b, c; /// 01: compile-time error 7 var get b, c; /// 01: compile-time error
8 8
9 var set; 9 var set;
10 var set d; /// 02: compile-time error 10 var set d; /// 02: compile-time error
(...skipping 27 matching lines...) Expand all
38 abstract List<int> get a2; 38 abstract List<int> get a2;
39 abstract List<int> get a3 => null; /// 08: compile-time error 39 abstract List<int> get a3 => null; /// 08: compile-time error
40 List<int> get b, c; /// 13: compile-time error 40 List<int> get b, c; /// 13: compile-time error
41 41
42 List<int> set; 42 List<int> set;
43 List<int> set d; /// 14: compile-time error 43 List<int> set d; /// 14: compile-time error
44 List<int> set e, f; /// 15: compile-time error 44 List<int> set e, f; /// 15: compile-time error
45 } 45 }
46 46
47 main() { 47 main() {
48 new C1(); /// 16: runtime error 48 new C1();
49 } 49 }
OLDNEW
« no previous file with comments | « tests/language/abstract_getter_test.dart ('k') | tests/language/implicit_this_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698