@@ -392,11 +392,12 @@ exports.Base = class Base
392
392
# has special awareness of how to handle comments within its output.
393
393
includeCommentFragments : NO
394
394
395
- # `jumps` tells you if an expression, or an internal part of an expression
396
- # has a flow control construct (like `break`, or `continue`, or `return`,
397
- # or `throw`) that jumps out of the normal flow of control and can’t be
398
- # used as a value. This is important because things like this make no sense;
399
- # we have to disallow them.
395
+ # `jumps` tells you if an expression, or an internal part of an expression,
396
+ # has a flow control construct (like `break`, `continue`, or `return`)
397
+ # that jumps out of the normal flow of control and can’t be used as a value.
398
+ # (Note that `throw` is not considered a flow control construct.)
399
+ # This is important because flow control in the middle of an expression
400
+ # makes no sense; we have to disallow it.
400
401
jumps : NO
401
402
402
403
# If `node.shouldCache() is false`, it is safe to use `node` more than once.
@@ -4996,7 +4997,7 @@ exports.Catch = class Catch extends Base
4996
4997
4997
4998
isStatement : YES
4998
4999
4999
- jumps : (o ) -> @recovery .jumps (o)
5000
+ jumps : (o ) -> @recovery .jumps o
5000
5001
5001
5002
makeReturn : (results , mark ) ->
5002
5003
ret = @recovery .makeReturn results, mark
0 commit comments