Welcome! Please see the About page for a little more info on how this works.

0 votes
in core.async by

When using core.async go blocks in ClojureScript, code is transformed into asynchronous functions. When an error occurs inside one of these go blocks, the name is printed as part of the stack trace. These names can get very long, for example one recent stack trace I saw was:

`day8.mwi_enhancer.steps.load_mwi.handlers.load_previous_steps_state.cljs.core.async.impl.dispatch.run.call.day8$mwi_enhancer$steps$load_mwi$handlers$load_previous_stepsstate$_state_machine24889auto____1`

This name is so long that it doesn't even fit on the display of a 13" Macbook in the Chrome console, and part of the name and location of the code is wrapped.

Can anything be done about making the name shorter? In this case there is a lot of duplication in the name, but there is probably a good reason why it was done this way.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/ASYNC-148 (reported by desk@danielcompton.net)
...