On 01/03/13 16:17, Joachim De Beule wrote:
I'm not sure what you mean. I am not changing between namespaces in this last example, only trying to delete a slot from a record definition and create a record according to the new definition subsequently. The problem occurs even when I do a C-c C-k (nrepl-load-current-buffer) on the buffer containing the defrecord form (apart from other things). It disappears when I change the name of the record (but then I need to change it in all other files as well, which is very annoying)

yes I'm sorry I got confused...your use case works on my bare repl so I'll assume something is wrong in your setup/enviroment...unfortunately I cannot help there...

user=> (defrecord Foo [a b])
user.Foo
user=> (Foo. 1 2)
#user.Foo{:a 1, :b 2}
user=> (defrecord Foo [a])
user.Foo
user=> (Foo. 1)
#user.Foo{:a 1} ;;all good


Jim

--
--
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/groups/opt_out.


Reply via email to