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

Side by Side Diff: tests/language_strong/constructor10_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Check that the implicit super call for synthetic constructors are checked. 5 // Check that the implicit super call for synthetic constructors are checked.
6 6
7
7 class A { 8 class A {
8 final x; 9 final x;
9 A(this.x); 10 A(this.x);
10 } 11 }
11 12
12 class B extends A { 13 class B extends A {
13 /* // //# 00: compile-time error 14 /* // //# 00: compile-time error
14 B() : super(null); 15 B() : super(null);
15 */ // //# 00: continued 16 */ // //# 00: continued
16 } 17 }
(...skipping 11 matching lines...) Expand all
28 } 29 }
29 30
30 // ============== 31 // ==============
31 32
32 class G extends A { 33 class G extends A {
33 /* // //# 02: compile-time error 34 /* // //# 02: compile-time error
34 G() : super(null); 35 G() : super(null);
35 */ // //# 02: continued 36 */ // //# 02: continued
36 } 37 }
37 38
38 class H extends G {} 39 class H extends G {
40 }
39 41
40 main() { 42 main() {
41 new B().x; 43 new B().x;
42 new Z().x; 44 new Z().x;
43 new H().x; 45 new H().x;
44 } 46 }
OLDNEW
« no previous file with comments | « tests/language_strong/constant_type_literal_test.dart ('k') | tests/language_strong/constructor9_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698