v8/test/message/regress/fail
Toon Verwaest d1b4e31bc5 [parser] Replacing ExpressionClassifier with ExpressionScope that knows what it's tracking
Since it's explicit what we're tracking, we can immediately throw errors in
certain cases, and ignore irrelevant errors. We don't need to use the
classifier itself to track "let let", since we know whether we're parsing a
"let". Errors that were previously (almost) always accumulated are now
immediately pushed to the scopes that care (parameter initialization errors).

This CL drops avoiding allocation of classified errors, at least for now, but
that doesn't affect performance anymore since we don't aggressively blacklist
anymore. Classified errors are even less likely with the more precise approach.

ParseAssignmentExpression doesn't introduce its own scope immediately, but
reuses the outer scope.

Rather than using full ExpressionClassifiers + Accumulate to separate
expressions/patterns from each other while keeping track of the overall error
state, this now uses an explicit AccumulationScope.

When we parse (async) arrow functions we introduce new scopes
that track that they may be (async) arrow functions.

We track StrictModeFormal parameters in 2 different ways if it isn't
immediately certain that it is a strict-mode formal error: Either directly on
the (Pre)ParserFormalParameters, or on the NextArrowFunctionInfo in the case
we're not yet certain that we'll have an arrow function. In the latter case we
don't have a FormalParameter object yet, and we'll copy it over once we know
we're parsing an arrow function. The latter works because it's not allowed to
change strictness of a function with non-simple parameters.

Design doc:
https://docs.google.com/document/d/1FAvEp9EUK-G8kHfDIEo_385Hs2SUBCYbJ5H-NnLvq8M/

Change-Id: If4ecd717c9780095c7ddc859c8945b3d7d268a9d
Reviewed-on: https://chromium-review.googlesource.com/c/1367809
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58307}
2018-12-18 08:32:30 +00:00
..
regress-73.js Convert all CRLF to LF 2018-05-07 18:55:09 +00:00
regress-73.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-75.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-75.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-1527.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-1527.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-3995.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-3995.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-4266.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-4266.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-5727.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-5727.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-8409.js [parser] Fix IsValidReferenceExpression 2018-11-05 15:54:00 +00:00
regress-8409.out [parser] Fix error message for invalid property reference 2018-11-06 09:38:37 +00:00
regress-900383.js [parser] Restore RETURN_IF after export default var decl 2018-10-31 09:10:55 +00:00
regress-900383.out [parser] Restore RETURN_IF after export default var decl 2018-10-31 09:10:55 +00:00
regress-crbug-661579.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-661579.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-669017.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-669017.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-691194.js Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-691194.out Split message tests in failing and non-failing 2017-10-26 07:36:28 +00:00
regress-crbug-842101.js [builtins] Fix error message in Proxy set trap 2018-05-14 16:37:20 +00:00
regress-crbug-842101.out [builtins] Fix error message in Proxy set trap 2018-05-14 16:37:20 +00:00