Im having difficulties using gen-class in some cases

 (clojure.core/gen-class
   :name rcp.MyView
   :extends org.eclipse.ui.part.ViewPart
   :prefix "MyView362" :init init)

 (clojure.core/defn MyView362init [] [[] []])
 (clojure.core/defn MyView362createPartControl [this parent]
  (println "HI"))
 (clojure.core/defn MyView362setFocus [this])

When i type in rcp.MyView i get an error
java.lang.ClassFormatError: Duplicate field name&signature in class
file
Looking at the class expansion in eclipse, theres a duplicate init_var

However, when i replace org.eclipse.ui.part.ViewPart with
org.eclipse.core.commands.AbstractHandler
there is no duplicate var. Whats going on here?


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