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

Side by Side Diff: tests/language/compile_time_constant_r_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 const x = 5 const x =
6 throw // //# 01: compile-time error 6 throw // //# 01: compile-time error
7 "x"; 7 "x";
8 8
9 const y = const {0: 9 const y = const {
10 0:
10 throw // //# 02: compile-time error 11 throw // //# 02: compile-time error
11 "y"}; 12 "y"
13 };
12 14
13 main() { 15 main() {
14 print(x); 16 print(x);
15 print(y); 17 print(y);
16 const z = 18 const z =
17 throw // //# 03: compile-time error 19 throw // //# 03: compile-time error
18 1+1+1; 20 1 + 1 + 1;
19 print(z); 21 print(z);
20 } 22 }
OLDNEW
« no previous file with comments | « tests/language/compile_time_constant_p_test.dart ('k') | tests/language/conditional_property_assignment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698