Hello,

I have clojure code like:

(gen-class
  :name   SomeName
  :extends SomeSuperClass)

(defn -clojure-fn [this]
   (.f this 1)
   (.f this "string"))

and in java there is SomeSuperClass class with overloaded methods, let's 
say:

public void f(int a);
public void f(String a);

Is gen-class macro checking types and choosing appropriate method in super 
class? If not, how can I force it to do so?

reagards,
Bartek

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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