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

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

Issue 2774783002: Re-land "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 class A { 5 class A {
6 var member1; //# 01: compile-time error 6 var member1; //# 01: compile-time error
7 member2() {} //# 02: compile-time error 7 member2() {} //# 02: compile-time error
8 get member3 => null; //# 03: compile-time error 8 get member3 => null; //# 03: compile-time error
9 member4() {} //# 04: compile-time error 9 member4() {} //# 04: compile-time error
10 } 10 }
11 11
12 abstract class I { 12 abstract class I {
13 var member5; //# 05: ok 13 var member5; //# 05: ok
14 var member6; //# 06: static type warning 14 var member6; //# 06: static type warning
15 get member7; //# 07: static type warning 15 get member7; //# 07: static type warning
16 get member8; //# 08: static type warning 16 get member8; //# 08: static type warning
17 get member9; //# 09: static type warning 17 get member9; //# 09: static type warning
18 } 18 }
19 19
20 abstract class J { 20 abstract class J {
21 get member5; //# 05: continued 21 get member5; //# 05: continued
22 member6() {} //# 06: continued 22 member6() {} //# 06: continued
23 member7() {} //# 07: continued 23 member7() {} //# 07: continued
24 member8() {} //# 08: continued 24 member8() {} //# 08: continued
25 member9() {} //# 09: continued 25 member9() {} //# 09: continued
26 } 26 }
27 27
28 abstract class B extends A implements I, J { 28 abstract class B extends A implements I, J {}
29 }
30 29
31 class Class extends B { 30 class Class extends B {
32 member1() {} //# 01: continued 31 member1() {} //# 01: continued
33 var member2; //# 02: continued 32 var member2; //# 02: continued
34 member3() {} //# 03: continued 33 member3() {} //# 03: continued
35 get member4 => null; //# 04: continued 34 get member4 => null; //# 04: continued
36 var member5; //# 05: continued 35 var member5; //# 05: continued
37 member8() {} //# 08: continued 36 member8() {} //# 08: continued
38 get member9 => null; //# 09: continued 37 get member9 => null; //# 09: continued
39 } 38 }
40 39
41 main() { 40 main() {
42 new Class(); 41 new Class();
43 } 42 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_generic_test.dart ('k') | tests/language/override_inheritance_no_such_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698