Files
scriptc/tests
Malte UblandClaude Opus 5.5 22b9db26b5 Short-circuit optional chains on any values only on the guarded step
`a?.b.c` on an `any` value answered undefined when `a` was present and
`a.b` undefined: every later step of the chain read optionally. Node
short-circuits only on the guarded receiver and throws reading `.c`.

An `any` receiver now makes the tail an optional chain like a dyn one,
and inside the chain's guarded body the consumed `?.` no longer marks
the later dynamic reads optional. (Kept from #1561, whose checked-cast
fallback is reverted.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 17:36:52 -07:00
..
2026-10-20 17:56:44 -05:00
2026-10-20 17:56:44 -05:00
…
2026-10-20 17:56:44 -05:00