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

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

Issue 2768073002: 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 class A { 5 class A {
6 A(); 6 A();
7 A.foo(); 7 A.foo();
8 } 8 }
9 9
10 class B extends A { 10 class B extends A {
11 B.c1() : super.foo 11 B.c1()
12 : super.foo
12 /* // //# 01: compile-time error 13 /* // //# 01: compile-time error
13 () 14 ()
14 */ // //# 01: continued 15 */ // //# 01: continued
15 ; 16 ;
16 17
17 B.foo(); 18 B.foo();
18 B.c2() : this.foo 19 B.c2()
20 : this.foo
19 /* // //# 02: compile-time error 21 /* // //# 02: compile-time error
20 () 22 ()
21 */ // //# 02: continued 23 */ // //# 02: continued
22 ; 24 ;
23 25
24 B.c3() : super 26 B.c3()
27 : super
25 /* // //# 03: compile-time error 28 /* // //# 03: compile-time error
26 () 29 ()
27 */ // //# 03: continued 30 */ // //# 03: continued
28 ; 31 ;
29 32
30 B(); 33 B();
31 B.c4() : this 34 B.c4()
35 : this
32 /* // //# 04: compile-time error 36 /* // //# 04: compile-time error
33 () 37 ()
34 */ // //# 04: continued 38 */ // //# 04: continued
35 ; 39 ;
36 } 40 }
37 41
38 main() { 42 main() {
39 new B.c1(); 43 new B.c1();
40 new B.c2(); 44 new B.c2();
41 new B.c3(); 45 new B.c3();
42 new B.c4(); 46 new B.c4();
43 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698