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

Side by Side Diff: pkg/front_end/test/fasta/rasta/super.dart

Issue 2710503002: Run Ctrl-t on weirdly formatted test. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | pkg/front_end/test/fasta/super_rasta_copy.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 class A { 5 class A {
6 var a; 6 var a;
7 var b; 7 var b;
8 var c; 8 var c;
9 var d; 9 var d;
10 get e => null; 10 get e => null;
(...skipping 13 matching lines...) Expand all
24 void m() {} 24 void m() {}
25 25
26 void n() {} 26 void n() {}
27 set n(_) {} 27 set n(_) {}
28 } 28 }
29 29
30 class B extends A { 30 class B extends A {
31 get b => null; 31 get b => null;
32 set c(x) {} 32 set c(x) {}
33 final d; 33 final d;
34 set i(x) {}} 34 set i(x) {}
35 35 }
36 36
37 class C extends B { 37 class C extends B {
38 test() { 38 test() {
39 ~super; 39 ~super;
40 use(~super); 40 use(~super);
41 -super; 41 -super;
42 use(-super); 42 use(-super);
43 +super; 43 +super;
44 use(+super); 44 use(+super);
45 super == 87; 45 super == 87;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 } 251 }
252 } 252 }
253 253
254 use(x) { 254 use(x) {
255 if (x == new DateTime.now().millisecondsSinceEpoch) throw "Shouldn't happen"; 255 if (x == new DateTime.now().millisecondsSinceEpoch) throw "Shouldn't happen";
256 } 256 }
257 257
258 main() { 258 main() {
259 new C().test(); 259 new C().test();
260 } 260 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/test/fasta/super_rasta_copy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698