Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 40s
Two fixes: (1) compiler.sx: remove `it` from hs-reserved-var?. `it` is the standard HS loop variable for `repeat in` loops; renaming it to `_hs_lv_it` made the body reference the outer (nil) `it` rather than the bound element. Other reserved vars (meta, event, result) still get renamed to prevent shadowing built-ins in misnamed loops. (2) runtime.sx: hs-make-object now appends an `_order` list tracking insertion order, mirroring the pattern used by other dict-building paths. Without this, `for prop in obj` fell back to `(keys obj)` which gives non-deterministic key order for objects with string keys. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
85 KiB
85 KiB