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

Side by Side Diff: tests/language_strong/conditional_access_helper.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // Library used by conditional_property_assignment_test.dart, 5 // Library used by conditional_property_assignment_test.dart,
6 // conditional_property_access_test.dart, and 6 // conditional_property_access_test.dart, and
7 // conditional_method_invocation_test.dart, all of which import it using the 7 // conditional_method_invocation_test.dart, all of which import it using the
8 // prefix "h.". 8 // prefix "h.".
9 9
10 library lib; 10 library lib;
11 11
12 var topLevelVar; 12 var topLevelVar;
13 13
14 void topLevelFunction() {} 14 void topLevelFunction() {}
15 15
16 class C { 16 class C {
17 static int staticInt; 17 static int staticInt;
18 static staticF(callback()) => callback(); 18 static staticF(callback()) => callback();
19 static int staticG(int callback()) => callback(); 19 static int staticG(int callback()) => callback();
20 } 20 }
21 21
22 C nullC() => null; 22 C nullC() => null;
23 23
24 class D { 24 class D {
25 static E staticE; 25 static E staticE;
26 } 26 }
27 27
28 class E { 28 class E {
29 G operator+(int i) => new I(); 29 G operator +(int i) => new I();
30 G operator-(int i) => new I(); 30 G operator -(int i) => new I();
31 } 31 }
32 32
33 class F {} 33 class F {}
34 34
35 class G extends E implements F {} 35 class G extends E implements F {}
36 36
37 class H {} 37 class H {}
38 38
39 class I extends G implements H {} 39 class I extends G implements H {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698