blob: eb52a937e365c210d267f72667ca211386f47372 [file] [edit]
40 columns |
>>> Line comment before pattern.
if (obj case // c
constant as Type) {;}
<<< 3.7
if (obj
case // c
constant as Type) {
;
}
>>> Line comment before 'as'.
if (obj case constant // c
as Type) {;}
<<< 3.7
if (obj
case constant // c
as Type) {
;
}
>>> Line comment after 'as'.
if (obj case constant as // c
Type) {;}
<<< 3.7
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) {;}
<<< 3.7
if (obj
case
// comment
constant as Type) {
;
}