Logo
Explore Help
Sign In
fergalmoran/ladybird
1
0
Fork 0
You've already forked ladybird
mirror of https://github.com/fergalmoran/ladybird.git synced 2026-03-24 06:16:06 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
cc024bdcc019bbbe1daa03332da925d033b62626
ladybird/Libraries/LibJS/Tests/operators
History
Linus Groh 0974991d05 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.
2020-12-14 22:25:46 +01:00
..
assignment-operators.js
…
binary-bitwise-and.js
…
binary-bitwise-left-shift.js
…
binary-bitwise-or.js
…
binary-bitwise-right-shift.js
…
binary-bitwise-unsigned-right-shift.js
…
binary-bitwise-xor.js
…
binary-relational.js
…
comma-operator.js
…
delete-basic.js
…
delete-global-variable.js
…
delete-globalThis-property-crash.js
…
in-operator-basic.js
…
instanceof-basic.js
…
logical-and.js
…
logical-expressions-short-circuit.js
…
logical-nullish-coalescing.js
…
logical-or.js
…
modulo-basic.js
…
ternary-basic.js
LibJS: Don't treat '?.' followed by decimal digit as QuestionMarkPeriod
2020-12-14 22:25:46 +01:00
typeof-basic.js
…
void-basic.js
…
Powered by Gitea Version: 1.25.0+dev-360-gc4c1a4bd18 Page: 1452ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API