Debug build crashes when resetting an atom within a fucntion #724
-
Issue DescriptionJank asserts while trying to reset! an atom inside a function in a debug build:
Reproduction Steps
$ build/jank repl
user=> jank nREPL server is running on nrepl://127.0.0.1:45241
(ns issue)
nil
issue=> (defn issue [] (reset! (atom 5) nil))
#'issue/issue
issue=> (issue)
Assertion failed! o.is_some()
...
aborted (core dumped)The same works correctly on a release build: jank health checkStack traceOS Version InformationUbuntu 24.4, macos 25.1 I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Thanks for the report! The fix for this is to just remove the debug assertion at This should be caught when we get the jank tests running for |
Beta Was this translation helpful? Give feedback.
#751 (merged)