Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index 239c4c89d57051248e7ef61b6e289511b5752295..545d78ca9aa0057d9f872d0a3c3136447bfb3fd7 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -6531,7 +6531,7 @@ Expression* ParserTraits::RewriteYieldStar( |
catch_scope->DeclareLocal(name, VAR, kCreatedInitialized, |
Variable::NORMAL); |
- try_catch = factory->NewTryCatchStatement( |
+ try_catch = factory->NewTryCatchStatementForDesugaring( |
try_block, catch_scope, catch_variable, catch_block, nopos); |
} |