We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 933d76a commit a4607d5Copy full SHA for a4607d5
src/plugins/catchExpression.js
@@ -7,7 +7,7 @@ export default function(parser) {
7
parser.__catchExpressionPluginInstalled = true;
8
9
pp.parseCatchExpression = function(expr) {
10
- const node = this.startNodeAt(expr.start);
+ const node = this.startNodeAt(expr.start, expr.loc.start);
11
node.expression = expr;
12
const catchIndentLevel = this.state.indentLevel;
13
const isEnd = () =>
0 commit comments