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 tried it few times on different sources and looks like cljr-clean-ns is not invoked after cljr-add-missing-libspec when cljr-auto-clean-ns is set to t.
Ya, I see this too. Thanks for the report. cljr--maybe-clean-ns needs to be updated with a conditional flushing of the buffer to file. clean-ns acts on the file on disk and so doesn't see the unsaved changes just made to the ns form.
maybe this is also why sometimes libspec is not really added to ns (even though the the message says otherwise). invoking cljr-add-missing-libspec again mysteriously helps. I see it rarely and usually can't reproduce for a next few hours.
I tried it few times on different sources and looks like cljr-clean-ns is not invoked after cljr-add-missing-libspec when cljr-auto-clean-ns is set to t.
let's look at following example:
adding missing
routes
spec ends up with following ns:and how it looks like after cleaning:
The text was updated successfully, but these errors were encountered: