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

Side by Side Diff: tests/language/external_test.dart

Issue 2763823002: Move spaces from before comments to within comments (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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 Bar { 5 class Bar {
6 Bar(val); 6 Bar(val);
7 } 7 }
8 8
9 class Foo { 9 class Foo {
10 var x; 10 var x;
(...skipping 21 matching lines...) Expand all
32 32
33 external int t06(int i) { } /// 30: compile-time error 33 external int t06(int i) { } /// 30: compile-time error
34 external int t07(int i) => i + 1; /// 31: compile-time error 34 external int t07(int i) => i + 1; /// 31: compile-time error
35 35
36 main() { 36 main() {
37 37
38 // Ensure Foo class is compiled. 38 // Ensure Foo class is compiled.
39 var foo = new Foo(); 39 var foo = new Foo();
40 40
41 // Try calling an unpatched external function. 41 // Try calling an unpatched external function.
42 new Foo().f10(); /// 10: continued 42 new Foo().f10(); // /// 10: continued
43 new Foo().f11(); /// 11: continued 43 new Foo().f11(); // /// 11: continued
44 new Foo().f12(); /// 12: continued 44 new Foo().f12(); // /// 12: continued
45 Foo.f13(); /// 13: continued 45 Foo.f13(); // /// 13: continued
46 Foo.f14(); /// 14: continued 46 Foo.f14(); // /// 14: continued
47 new Foo().f16(); /// 16: continued 47 new Foo().f16(); // /// 16: continued
48 48
49 // Try calling an unpatched external constructor. 49 // Try calling an unpatched external constructor.
50 new Foo.n20(1); /// 20: continued 50 new Foo.n20(1); // /// 20: continued
51 new Foo.n21(1); /// 21: continued 51 new Foo.n21(1); // /// 21: continued
52 new Foo.n22(1); /// 22: continued 52 new Foo.n22(1); // /// 22: continued
53 new Foo.n23(1); /// 23: continued 53 new Foo.n23(1); // /// 23: continued
54 new Foo.n24(1); /// 24: continued 54 new Foo.n24(1); // /// 24: continued
55 new Foo.n25(1); /// 25: continued 55 new Foo.n25(1); // /// 25: continued
56 56
57 t06(1); /// 30: continued 57 t06(1); // /// 30: continued
58 t07(1); /// 31: continued 58 t07(1); // /// 31: continued
59 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698