I have a question. When you do a gen-class and specify incorrect
constructor arguments, is an error supposed to be produced? Currently,
in the eclipse clojure plugin, clojure silently doesn't create the
class.

(gen-class
     :name  "NAME"
     :init init
     :post-init post-init
     :constructors {[org.eclipse.swt.widgets.Composite String]
[org.eclipse.swt.widgets.Composite int]}
     :extends ~(str "org.eclipse.swt.widgets." nm)))

Would fail because of the int which should be Integer. Also, if i had
used [[org.eclipse....] [org.eclipse...]] instead of with curly braces
an error would also not be produced, rather it would not compile
silently. Is this supposed to happen?
--~--~---------~--~----~------------~-------~--~----~
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