summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-12-14 13:05:24 +0000
committerAndreas Kling <kling@serenityos.org>2020-12-14 22:25:46 +0100
commit0974991d051517802ad319022d9e46313d6cd4d4 (patch)
tree5938efceafbef9807c5b5147f14bbd6ccd07a600 /Applications
parent6e7edd6e77e1e5e0f5ed341a5fccf66fd4b921e5 (diff)
downloadserenity-0974991d051517802ad319022d9e46313d6cd4d4.zip
LibJS: Don't treat '?.' followed by decimal digit as QuestionMarkPeriod
From the spec: https://tc39.es/ecma262/#sec-punctuators OptionalChainingPunctuator :: ?. [lookahead ∉ DecimalDigit] We were missing the lookahead and therefore incorrectly treating any '?.' as TokenType::QuestionMarkPeriod. Fixes #4409.
Diffstat (limited to 'Applications')
0 files changed, 0 insertions, 0 deletions