Hi guys.

I was working on a macro for easily defining mutable classes without
having to previously define a protocol for the methods in them (the
macro takes care of that for you) and providing basic get-set
operations.

However, I have trouble when defining classes, cause I get the
following error:
java.lang.VerifyError: (class: x/y/Z, method: <clinit> signature: ()V)
Incompatible argument to function

You can check out the code here: https://gist.github.com/800813

I'm using Clojure 1.2 on this one.

Am I doing something wrong or is this a bug in Clojure?

I think the problem comes when I add the metadata to the variables in
the class.

BTW: The switch macro that appears there is my version of 'case' and
it works mostly the same.

-- 
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

Reply via email to