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-02-18 13:44:50 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
fbf8751485ffb587eed672250396e9e1ce8875bb
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
…
typeof-basic.js
…
void-basic.js
…
Powered by Gitea Version: 1.25.0+dev-360-gc4c1a4bd18 Page: 1489ms Template: 21ms
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