DescriptionFix re-indexing for literals in do-expressions
This became temporarily a big issue, because spreads are desugared
into do-expressions. This patch fixes the problem with having
spreads as parameter initializers in arrow expressions, e.g., this
line would crash:
[], ((x = [...[42]]) => x)();
R=rossberg@chromium.org
BUG=chromium:578038
LOG=N
Committed: https://crrev.com/9ed5596ade9f74b5604bbd1cb27e2f6265123556
Cr-Commit-Position: refs/heads/master@{#33365}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix the regression test, focus on spreads #
Messages
Total messages: 16 (5 generated)
|