You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current indentation rules handle #partial switch differently from regular switch statements, resulting in incorrect indentation for case lines within #partial switch. Below is an example illustrating the issue:
hellope :: proc() {
switch foo {
case bar:
baz
}
#partialswitch foo {
case bar:
baz
}
}
The text was updated successfully, but these errors were encountered:
One additional problem is that the default case: is not handled properly as well. Just noting it here since it is also probably caused by the usage of js-indent-line where I'm assuming neither of these cases are valid.
The current indentation rules handle
#partial switch
differently from regularswitch
statements, resulting in incorrect indentation for case lines within#partial switch
. Below is an example illustrating the issue:The text was updated successfully, but these errors were encountered: