ladybird/Userland/Libraries/LibJS/Tests/syntax
Anonymous 602190f66f LibJS: Fix mixing of logical and coalescing operators
The same expression is not allowed to contain both the
logical && and || operators, and the coalescing ?? operator.

This patch changes how "forbidden" tokens are handled, using a
finite set instead of an Vector. This supports much more efficient
merging of the forbidden tokens when propagating forward, and
allowing the return of forbidden tokens to parent contexts.
2022-02-16 11:18:41 +00:00
..
async-await.js LibJS: Disallow async generator functions called 'await' or 'yield' 2021-12-21 14:04:23 +01:00
async-generators.js LibJS: Disallow async generator functions called 'await' or 'yield' 2021-12-21 14:04:23 +01:00
coalesce-logic-expression-mixing.js LibJS: Fix mixing of logical and coalescing operators 2022-02-16 11:18:41 +00:00
destructuring-assignment.js LibJS/Tests: Fix typo in a test description 2021-11-30 20:42:04 +00:00
dynamic-import-usage.js LibJS: Don't VERIFY that the token after 'import' is one of '.' and '(' 2021-12-29 16:57:23 +01:00
for-loop-invalid-in.js LibJS: Fix cases where we incorrectly allowed 'in' in for loops 2022-02-15 10:31:41 +00:00
generators.js LibJS: Disallow async generator functions called 'await' or 'yield' 2021-12-21 14:04:23 +01:00
if-statement-empty-completion.js LibJS: Add missing undefined fallback to IfStatement completions 2021-12-31 15:39:25 +01:00
numeric-separator.js LibJS: Disallow numerical separators in octal numbers and after '.' 2021-11-30 17:05:32 +00:00
optional-chaining.js LibJS: Implement parsing and execution of optional chains 2021-09-14 20:03:27 +01:00
slash-after-block.js LibJS: Treat private identifier as divisible token 2021-11-30 17:05:32 +00:00
switch-as-statement.js LibJS: Make scoping follow the spec 2021-09-30 08:16:32 +01:00