Skip to content

Commit b3742dc

Browse files
leifericfclaude
andcommitted
changelog: note host-interop ns resolution fix
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 05b39a7 commit b3742dc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ instead of paying a malloc per walk. `mino_print_to_buf` for embedders
3636
without a `FILE *`. `mino_agent_deref` for parity with atom / volatile
3737
/ ref deref.
3838

39+
### Fixed: Host Interop Resolves Across Namespaces
40+
41+
`host/new`, `host/call`, `host/get`, and `host/static-call` are
42+
installed under literal slash-names in `clojure.core`; with the
43+
namespace-first model a user-namespace caller's env no longer chains
44+
to clojure.core, so the interop special forms (`(new Type ...)`,
45+
`(.method t ...)`, `(.-field t)`, `Type/static`) would fail to find
46+
their backing primitive. Both the tree-walker's
47+
`eval_try_host_syntax` and the BC compiler's dispatch now route host
48+
sugar through a direct clojure.core lookup. Plain qualified source
49+
like `(host/new :Foo)` also resolves from any namespace.
50+
3951
### Changed: `mino_int` Auto-Promotes To Bigint With Bignum
4052

4153
`mino_int(S, n)` now checks `MINO_CAP_BIGNUM` for the tag-overflow

0 commit comments

Comments
 (0)