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

Side by Side Diff: tests/language/least_upper_bound_expansive_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) 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 // Test least upper bound through type checking of conditionals. 5 // Test least upper bound through type checking of conditionals.
6 6
7 class N<T> { 7 class N<T> {
8 T get n => null; 8 T get n => null;
9 } 9 }
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Is least upper bound N<N<...>> ? 91 // Is least upper bound N<N<...>> ?
92 (z ? a : b).n.n; //# 11: static type warning 92 (z ? a : b).n.n; //# 11: static type warning
93 // Is least upper bound N<C2<...>> ? 93 // Is least upper bound N<C2<...>> ?
94 (z ? a : b).n.c2; //# 12: static type warning 94 (z ? a : b).n.c2; //# 12: static type warning
95 } 95 }
96 } 96 }
97 97
98 void main() { 98 void main() {
99 testC1(false, null, null); 99 testC1(false, null, null);
100 testC2(false, null, null); 100 testC2(false, null, null);
101 } 101 }
OLDNEW
« no previous file with comments | « tests/language/keyword_type_expression_test.dart ('k') | tests/language/least_upper_bound_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698