Compiler bug

20 views
Skip to first unread message

meredydd

unread,
Jul 31, 2008, 7:44:25 AM7/31/08
to Clojure
Hey,

I stumbled across this VerificationError in some of my own code. I
macroexpanded everything, then started taking stuff out until I found
the minimal code that would still break (hence the contrived
structure). If I remove any of the forms from this, it starts working
again. As it stands, when entered into a fresh REPL, it will yield a
VerificationError:

(def k)
(. k dosomething (do (try :something (catch java.lang.Exception
e :something-else)) nil))

It's entirely possible that there's a much more succinct reproduction,
but I don't really know where to look for it.

Meredydd

Rich Hickey

unread,
Jul 31, 2008, 4:53:44 PM7/31/08
to Clojure
Fixed - thanks for the (succinct) report!

Rich
Reply all
Reply to author
Forward
0 new messages