blob: 0e298369a858dedbaadcfdb39d4fa84595248586 [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) {
;
}