On Thu, Mar 3, 2011 at 2:24 PM, Daniel Solano Gomez <cloj...@sattvik.com>wrote:

> On Thu Mar  3 13:48 2011, Aaron Cohen wrote:
> > On Wed, Mar 2, 2011 at 11:38 PM, Earl J. Wagner <
> dont.spam.e...@gmail.com>wrote:
>
> Well, t.core exists because in his ns declaration he included
> :gen-class.  Now, this isn't necessary for compiling records.  As for
> why it isn't compiling, I am not sure.  I tried replicating the problem
> (albiet without Leiningen), but was unable to.
>

Hmm, it's illegal to have a class name that collides with a package name,
isn't it? If :gen-class creates a class named "t.core", then you won't be
able to have a record named "t.core.TRecord", at least not in a way that
actually works consistantly. Clojure should probably prevent this from
compiling.

For reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=63668

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