> Can you run:
> javap  YourClass.class

> and give us the result?

Here it is:

public class semantic.hello extends java.lang.Object {
     public static {};
     public semantic.hello();
     public java.lang.Object clone();
     public int hashCode();
     public java.lang.String toString();
     public boolean equals(java.lang.Object);
     public static void main(java.lang.String[]);
}

It seems like compiled class has no methods, though they are compiled
as an inner classes (I can see them in classes directory).
I also added several methods:

(defn -sayhello [] (println "Hello from clojure!"))

(defn sayhello2 [] (println "Hello from clojure!"))

(defn -sayhello-with-args [args] (println (str "Hello" args "!")))

(defn -sayhello-with-args2 [args] (println (str "Hello" args "!")))

But none of them apperead in an output of javap.

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