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

Side by Side Diff: tests/language/parameter_default_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) 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 C { 5 class C {
6 foo(a 6 foo(a
7 : 1 // //# 01: compile-time error 7 : 1 // //# 01: compile-time error
8 = 1 // //# 02: compile-time error 8 = 1 // //# 02: compile-time error
9 ) { 9 ) { print(a); }
10 print(a);
11 }
12 10
13 static bar(a 11 static bar(a
14 : 1 // //# 03: compile-time error 12 : 1 // //# 03: compile-time error
15 = 1 // //# 04: compile-time error 13 = 1 // //# 04: compile-time error
16 ) { 14 ) { print(a); }
17 print(a);
18 }
19 } 15 }
20 16
21 baz(a 17 baz(a
22 : 1 // //# 05: compile-time error 18 : 1 // //# 05: compile-time error
23 = 1 // //# 06: compile-time error 19 = 1 // //# 06: compile-time error
24 ) { 20 ) { print(a); }
25 print(a);
26 }
27 21
28 main() { 22 main() {
29 foo(a 23 foo(a
30 : 1 // //# 07: compile-time error 24 : 1 // //# 07: compile-time error
31 = 1 // //# 08: compile-time error 25 = 1 // //# 08: compile-time error
32 ) { 26 ) { print(a); }
33 print(a);
34 }
35 27
36 foo(1); 28 foo(1);
37 29
38 new C().foo(2); 30 new C().foo(2);
39 31
40 C.bar(3); 32 C.bar(3);
41 33
42 baz(4); 34 baz(4);
43 } 35 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_no_such_method_test.dart ('k') | tests/language/parameter_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698