mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
parent
b28e398396
commit
22d0cc1012
2 changed files with 2 additions and 2 deletions
|
@ -4014,7 +4014,7 @@
|
|||
break;
|
||||
}
|
||||
expr = this.lastNonComment(block.expressions);
|
||||
if (expr instanceof Return || (expr instanceof Literal && expr.jumps() && expr.value !== 'debugger')) {
|
||||
if (expr instanceof Return || expr instanceof Throw || (expr instanceof Literal && expr.jumps() && expr.value !== 'debugger')) {
|
||||
continue;
|
||||
}
|
||||
fragments.push(cond.makeCode(idt2 + 'break;\n'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue