I'm trying to track down some reflection warnings in my code. There is one that I can't track down, however.
Example: (def ID 4) (defn output [itm ^java.io.DataOutputStream stream] (.write stream ID) (.writeInt itm)) Reflection warning, NO_SOURCE_PATH:4061 - call to write can't be resolved. --- This however, works just fine: (defn output [itm ^java.io.DataOutputStream stream] (.writeInt stream ID) (.writeInt itm)) Why can the compile resolve .writeInt, but not write? Timothy -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- 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