On Aug 22, 6:24 pm, Chouser <[EMAIL PROTECTED]> wrote:
> It's pretty easy to get typo (or brain-o) in the package or method
> name when using genclass, especially since the correct naming recently
> changed.  Currently you might see something like:
>
> user=> (gen-and-load-class 'pkg.ClassName :methods [['bar [] String]])
> pkg.ClassName
> user=> (.bar (pkg.ClassName.))
> java.lang.UnsupportedOperationException: bar
>
> After applying the attached patch, you'll instead see:
>
> user=> (.bar (pkg.ClassName.))
> java.lang.UnsupportedOperationException: bar (pkg/ClassName-bar not defined?)
>

Patch applied (SVN rev 1006) - thanks!

Rich
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to