You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following message while trying to compile a sente project using the aleph community adapter:
Execution error (ExceptionInfo) at taoensso.truss.impl/default-error-fn (impl.cljc:81).
Invariant failed at taoensso.sente|496: ((fn* [p1__11175#] (satisfies? interfaces/IServerChanAdapter p1__11175#)) #object[taoensso.sente.server_adapters.community.aleph.AlephAsyncNetworkChannelAdapter 0x7634fcb8 "taoensso.sente.server_adapters.community.aleph.AlephAsyncNetworkChannelAdapter@7634fcb8"])
This behaviour occurs consistently with:
aleph from 0.8.1 at least as far back as 0.6.0
sente from 1.19.2 at least as far back as 1.17.0
both Azul Zulu 22.0.2 and Eclipse Temurin 11.0.24
both the aleph and http-kit adapters (probably others)
However, the behaviour stops if I disable "-Dclojure.compiler.direct-linking=true" (set by default in the current lein new template) - and also if I move it into a non-aot namespace.
I've also cloned sente and played with direct-linking in the raw project; it appears the relevant have? statement is checked twice, passing the first time and failing the second. I've uploaded a (very) minimal reproduction here.
Unfortunately I don't know enough about direct linking to go any further, but hopefully this is a helpful pointer!
The text was updated successfully, but these errors were encountered:
@tafenton Thanks for the info and reproducible Tom!
I'm not too familiar with direct linking myself, so can't say off-hand - but happy to look into this next time I'm on batched Sente work. Appreciate you bringing this to my attention.
Hi,
I get the following message while trying to compile a sente project using the aleph community adapter:
This behaviour occurs consistently with:
However, the behaviour stops if I disable "-Dclojure.compiler.direct-linking=true" (set by default in the current lein new template) - and also if I move it into a non-aot namespace.
I've also cloned sente and played with direct-linking in the raw project; it appears the relevant
have?
statement is checked twice, passing the first time and failing the second. I've uploaded a (very) minimal reproduction here.Unfortunately I don't know enough about direct linking to go any further, but hopefully this is a helpful pointer!
The text was updated successfully, but these errors were encountered: