fix(javascript): preserve guarded factory fallthrough (#4341)

Preserve per-exit factory initialization and shared export facts.
Keep capture/caller boundaries, call-kind semantics and conditional
registration evidence consistent through CLI and MCP.

Fixes #3963
This commit is contained in:
Ysopwnable
2026-10-16 13:10:49 +08:00
committed by GitHub
parent 8ab5024397
commit 2c7583599b
8 changed files with 1297 additions and 136 deletions
@@ -28,6 +28,8 @@ export const symbolicLogicalRight = (
"array",
"record",
"loader",
"promise",
"iterator",
].includes(left.kind)
? false
: undefined;