I'm noticing the following slight inconvenience: when using :import
and :gen-class inside a (ns ...) section, the imports are not visible
for gen-class (for example, the parent class has to be fully qualified
despite being previously imported via :import).

To illustrate (using AOT-compiling):

;; ---- This doesn't work (tries to resolve the parent class of the
gen-class directive as java.lang.PApplet) ----
(ns de.torq.clojure.processing.App
  (:import
    (processing.core PApplet))
  (:gen-class
    :extends PApplet))

;; ---- This works ----
(ns de.torq.clojure.processing.App
  (:import
    (processing.core PApplet))
  (:gen-class
    :extends processing.core.PApplet))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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