https://github.com/clojure/clojure/commit/71930b6b6537a796cdf13c4ffa7cf93eb53b6235
and am looking for feedback. Is it improving your startup times, or
causing any problems?
Rich
A user reported a problem on the main clojure list that they believed
was related to this change:
http://groups.google.com/group/clojure/browse_thread/thread/c9276d8e72c26a6a?hl=en#
If you have let-over-defn and the defn doesn't use any of the bindings
in the let, you get an exception when you call the function:
(let [a 1] (defn foo[x] (+ a x)))
(foo 1) ;; works
(let [a 1] (defn foo[x] (+ 1 x)))
(foo 1) ;; throws: ClassNotFoundException user$eval75$foo__76
java.lang.Class.forName0 (Class.java:-2)
I confirmed that the second form works in the alpha4 build but fails
as shown in alpha6.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To post to this group, send email to cloju...@googlegroups.com.
To unsubscribe from this group, send email to clojure-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clojure-dev?hl=en.
2011/4/19 trptcolin <trpt...@gmail.com>: