escargot/test
Seonghyun Kim bab3a57975 Fix RELEASE_ASSERT_NOT_REACHED on CoverInitializedName used as a value
A CoverInitializedName such as `{ a = 0 }` (object shorthand with default) is
only valid when the enclosing object literal is refined into a destructuring
pattern. When such an object literal is instead consumed as a real value -- the
base of a member access, call, computed access, or tagged template, e.g.
`( {... { a = 0 }. b = 1 } )` -- the pending CoverInitializedName error was
discarded by a later assignment, so no SyntaxError was raised and the
AssignmentPattern property value reached bytecode generation, hitting
RELEASE_ASSERT_NOT_REACHED in Node::generateExpressionByteCode.

Report the pending CoverInitializedName as an early SyntaxError in the two
LeftHandSideExpression member-access loops the moment the base is consumed as a
value, since it can no longer be refined into a pattern.

Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2026-06-18 19:02:02 +09:00
..
bin Add memps binary and update check_daily.sh 2017-04-06 15:21:08 +09:00
cctest Add basics of Chrome Devtools debugger support 2026-03-28 13:08:51 +09:00
kangax@07b25c46f1 Add kangax runner 2020-03-30 15:45:23 +09:00
octane@30b1d8d714 Add Travis CI configuration (#3) 2018-12-13 10:55:14 +09:00
test262@3a182e9cda Improve Temporal + intl402 2025-12-15 18:43:33 +09:00
vendortest@4c69299c40 Fix RELEASE_ASSERT_NOT_REACHED on CoverInitializedName used as a value 2026-06-18 19:02:02 +09:00
web-tooling-benchmark@4a12828c6a Add web-tooling-benchmark test 2023-12-12 17:09:31 +09:00