Ah, that'll do it. Thanks.

On Jan 16, 1:02 pm, Kevin Downey <redc...@gmail.com> wrote:
> - is not a "Java letter or digit" so it is not allowed in java method names.
>
> http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.8
>
> user=> (Character/isJavaIdentifierPart (int \-))
> false
> user=>
>
>
>
> On Fri, Jan 16, 2009 at 9:56 AM, Greg Harman <ghar...@gmail.com> wrote:
>
> > I think I may have found a minor issue with gen-class, but wanted to
> > confirm with the group that I'm not just doing something stupid...
>
> > (gen-class :name mypkg.foo
> >           :prefix ""
> >           :methods [[my-method [Object] Object]])
>
> > Results in the following method signature in the .class file:
>
> > public Object my_2D_method(Object obj) {
>
> > "-" is being written out as "_2D_"
>
> > -Greg
>
> --
> And what is good, Phaedrus,
> And what is not good—
> Need we ask anyone to tell us these things?
--~--~---------~--~----~------------~-------~--~----~
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
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