Hi all! Ran into some behaviour today that I wasn't expecting and am wondering if someone could shed some light.
Steps to reproduce (reproducible with at least Clojure 1.4.0 and 1.7.0-alpha2): 1. Setup a namespace with `(defrecord Foo [x])`. 2. Call cider's `cider-load-current-buffer` in Emacs. 3. Evaluate `(compile '<the-ns>)` in that namespace. At this point, we have: (instance? Foo (Foo. "bar")) => true (instance? Foo (->Foo "bar")) => false I wouldn't normally call `compile` like this, but I'm curious if someone has any idea what's actually happening? The `build-positional-factory` code seems to just call the `new` constructor anyway so it's not obvious to me why the behaviour would differ. Are the class files getting out of sync somehow? Thanks a lot, cheers! :-) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.