Created
October 20, 2011 16:51
-
-
Save slagyr/1301638 to your computer and use it in GitHub Desktop.
Clojure 1.3 bug output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPL started; server listening on localhost:32980. | |
(defmacro with [] | |
(let [var-name (with-meta 'something {:dynamic true})] | |
`(do | |
(let [with-component# (atom 42)] | |
(declare ~var-name) | |
with-component#)))) | |
#'user/with | |
(list | |
(def _with_ (with)) | |
(def _example_ (fn [] @something)) | |
) | |
(with-bindings {#'something _with_} | |
(_example_) | |
(#'user/_with_ #'user/_example_) | |
user=> user=> ) | |
ClassCastException clojure.lang.Var$Unbound cannot be cast to clojure.lang.IDeref clojure.core/deref (core.clj:2078) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment