mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
bd4c29322c
The following syntax is valid: ```js e?.example / 1.2 ``` Previously, the `/` would be treated as a unterminated regex literal, because it was calling the regular `consume` instead of `consume_and_allow_division`. This is what is done when parsing IdentifierNames in parse_secondary_expression when a period is encountered. Allows us to parse clients-main-[hash].js on https://ubereats.com/ |
||
---|---|---|
.. | ||
async-await.js | ||
async-generators.js | ||
coalesce-logic-expression-mixing.js | ||
destructuring-assignment.js | ||
dynamic-import-usage.js | ||
for-loop-invalid-in.js | ||
function-hoisting.js | ||
functions-in-tree-order-non-strict.js | ||
functions-in-tree-order-strict.js | ||
generators.js | ||
if-statement-empty-completion.js | ||
new-with-optional-chaining.js | ||
numeric-separator.js | ||
optional-chaining.js | ||
slash-after-block.js | ||
switch-as-statement.js | ||
syntax-error-unary-expression-before-exponentiation.js |