Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 22efbac101d7586efeac9efcd826f9c2f7b67e1f..2ee9444054e12d8a54d306e6ba112dffe0a958f7 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -4148,6 +4148,7 @@ void ParserTraits::ReindexLiterals(const ParserFormalParameters& parameters) { |
for (const auto p : parameters.params) { |
if (p.pattern != nullptr) reindexer.Reindex(p.pattern); |
+ if (p.initializer != nullptr) reindexer.Reindex(p.initializer); |
} |
if (parameters.has_rest) { |