ladybird/Libraries/LibJS/Tests/operators
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 LibJS: Implement logical assignment operators (&&=, ||=, ??=) 2020-10-05 17:57:26 +02:00
binary-bitwise-and.js LibJS: Add tests for bitwise & and ^ 2020-07-23 13:06:49 +02:00
binary-bitwise-left-shift.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
binary-bitwise-or.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
binary-bitwise-right-shift.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
binary-bitwise-unsigned-right-shift.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
binary-bitwise-xor.js LibJS: Add tests for bitwise & and ^ 2020-07-23 13:06:49 +02:00
binary-relational.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
comma-operator.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
delete-basic.js LibJS: Fix Object::delete_property() with numeric string property 2020-11-05 19:15:00 +01:00
delete-global-variable.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
delete-globalThis-property-crash.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
in-operator-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
instanceof-basic.js LibJS: Fix crashing exception in Value::ordinary_has_instance() 2020-11-03 19:14:13 +01:00
logical-and.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
logical-expressions-short-circuit.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
logical-nullish-coalescing.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
logical-or.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
modulo-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
ternary-basic.js LibJS: Don't treat '?.' followed by decimal digit as QuestionMarkPeriod 2020-12-14 22:25:46 +01:00
typeof-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
void-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00