blob: da09bc7ba50139f35b3757f5c335be07b2b7d31d [file] [edit]
40 columns |
>>> Indent line comment inside map.
if (obj case {
// c
}) {;}
<<< 3.7
if (obj case {
// c
}) {
;
}
>>> Line comment on opening line of map.
if (obj case {// c
}) {;}
<<< 3.7
if (obj case {
// c
}) {
;
}
>>> Indented block comment in map.
if (obj case {
/* comment */
}){;}
<<< 3.7
if (obj case {
/* comment */
}) {
;
}
>>> Inline block comment in map.
if (obj case { /* comment */ k: v }){;}
<<< 3.7
if (obj case {/* comment */ k: v}) {
;
}
>>> Line comment between map items.
if (obj case {k: 'a', // comment
m: 'b'}){;}
<<< 3.7
if (obj case {
k: 'a', // comment
m: 'b',
}) {
;
}