Hello!

I experimented with overload resolution. And faced with a strange behavior.

https://gist.github.com/alejes/355881c1711224d5a773fbf0275b4898

The Clojure code calls a method from the Java. But at different runs I get 
the result call different methods (4 and 6). 
It is a simplified version of the example which I encountered. In the 
original version it periodically called method #0. However, in the 
simplified example I is not noticed call #0 method.

It is a bug or feature? Can someone explain why is this happening?

Thanks.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to