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

Side by Side Diff: packages/dart_style/test/comments/maps.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
(Empty)
1 40 columns |
2 >>> indented line comment (dartbug.com/16383)
3 var map = {
4 // comment
5 };
6 <<<
7 var map = {
8 // comment
9 };
10 >>> line comment on opening line
11 var map = { // comment
12 };
13 <<<
14 var map = {
15 // comment
16 };
17 >>> indented block comment
18 var map = {
19 /* comment */
20 };
21 <<<
22 var map = {
23 /* comment */
24 };
25 >>> block comment with trailing newline
26 var map = {/* comment */
27 };
28 <<<
29 var map = {
30 /* comment */
31 };
32 >>> block comment with leading newline
33 var map = {
34 /* comment */};
35 <<<
36 var map = {
37 /* comment */
38 };
39 >>> inline block comment
40 var map = { /* comment */ };
41 <<<
42 var map = {/* comment */};
43 >>> multiple comments on opening line
44 var map = { /* first */ // second
45 };
46 <<<
47 var map = {
48 /* first */ // second
49 };
50 >>> multiple inline block comments
51 var map = { /* 1 */ /* 2 */ /* 3 */ };
52 <<<
53 var map = {/* 1 */ /* 2 */ /* 3 */};
54 >>> multiline trailing block comment
55 var map = { /* comment
56 */ };
57 <<<
58 var map = {
59 /* comment
60 */
61 };
62 >>> line comment between items
63 var map = {'a': 'b', // comment
64 'c': 'd'};
65 <<<
66 var map = {
67 'a': 'b', // comment
68 'c': 'd'
69 };
70 >>> line comments after last item
71 var map = {'a': 'b' // 1
72 // 2
73 };
74 <<<
75 var map = {
76 'a': 'b' // 1
77 // 2
78 };
79 >>> line comments after trailing comma
80 var map = {'a': 'b', // 1
81 // 2
82 };
83 <<<
84 var map = {
85 'a': 'b', // 1
86 // 2
87 };
88 >>> inside map literal
89 var map = {
90 // comment
91 'foo': 1};
92 <<<
93 var map = {
94 // comment
95 'foo': 1
96 };
97 >>> remove blank line before beginning of body
98 var map = {
99
100
101
102 // comment
103 };
104 <<<
105 var map = {
106 // comment
107 };
OLDNEW
« no previous file with comments | « packages/dart_style/test/comments/lists.stmt ('k') | packages/dart_style/test/comments/mixed.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698