A built binary loaded each namespace with (set-chez-ns! <ns>) and no restore, so -main ran with *ns* left at the entry ns. clojure.main (and interpreted joltc) run -main with *ns* = user, where a runtime (resolve 'alias/sym) is nil because the alias lives in the entry ns, not user. Reset the current ns to user in the launcher before -main so a compiled binary matches. build-smoke asserts it via a separate two-namespace app (kept apart from the tree-shake app — a `resolve` defeats tree-shaking). |
||
|---|---|---|
| .. | ||
| chez | ||