The function isPreviousLineEmpty comment doesn't skip comments (on purpose, see comment above that method :P) so the detection is messed up. Turns out, it's easier to just use isNextLineEmpty like everywhere else. Fixes #1708
24 lines
209 B
JavaScript
24 lines
209 B
JavaScript
switch (true) {
|
|
case true:
|
|
// Good luck getting here
|
|
|
|
case false:
|
|
}
|
|
|
|
switch (true) {
|
|
case true:
|
|
|
|
// Good luck getting here
|
|
case false:
|
|
}
|
|
|
|
switch(x) {
|
|
case x: {
|
|
}
|
|
|
|
// other
|
|
|
|
case y: {
|
|
}
|
|
}
|