technomancy/slamhound

Exception thrown

Closed this issue · 1 comments

Still seeing exceptions for one case when I run Slamhound on the Runa codebase. I'll fix it when I get some time.

It's because I'm attempting to destructure some form that is not always in the shape I assumed it would be in,

Failed to reconstruct: #<File test/furtive/test/unit/spec_utils/scenario.clj>
java.lang.UnsupportedOperationException: nth not supported on this type: Keyword
    at clojure.lang.RT.nthFrom(RT.java:846)
    at clojure.lang.RT.nth(RT.java:796)
    at slam.hound.regrow$referred_to_in_originals_pred$fn__109$fn__113.invoke(regrow.clj:109)
    at clojure.core$some.invoke(core.clj:2390)
    at slam.hound.regrow$referred_to_in_originals_pred$fn__109.invoke(regrow.clj:107)

Never mind, I had a transitive dependency on the buggy version of slamhound floating around my classpath.