blob: 782c3e10ec214dafe0a4af069058108922f731c4 [file] [log] [blame]
40 columns |
>>> Line comment before pattern.
if (obj case // c
constant as Type) {;}
<<<
if (obj
case // c
constant as Type) {
;
}
>>> Line comment before 'as'.
if (obj case constant // c
as Type) {;}
<<<
if (obj
case constant // c
as Type) {
;
}
>>> Line comment after 'as'.
if (obj case constant as // c
Type) {;}
<<<
if (obj
case constant
as // c
Type) {
;
}
>>> Don't split `as` with leading line comment before first operand.
if (obj case
// comment
constant as Type) {;}
<<<
if (obj
case // comment
constant as Type) {
;
}