The SX-level VM couldn't find for-each/map/etc. because they're CEK special forms, not primitives in the JS host. Added vm-resolve-ho-form which creates wrapper functions that dispatch callbacks through vm-call-external (handling VmClosure callbacks correctly). Also fixed vm-call dispatch order: Lambda/Component checked before generic callable? to avoid calling SX Lambdas as JS functions. JS full: 1585/1585 (was 1582/3 failed). All 3 pre-existing failures fixed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 KiB
16 KiB