Multimethod dispatch based on Java classes is simply not reliable.

2014-12-13 Thread Matching Socks
Multimethod dispatch based on Java classes is simply not reliable. That sentence comes from a comment in a git commit related to an AOT fix mentioned in a recent core.match announcement. https://github.com/clojure/core.match/commit/0545c6af9d545dcf1bc0a3ca792771b9a678a030 (The workaround was

Re: Multimethod dispatch based on Java classes is simply not reliable.

2014-12-13 Thread Mike Rodriguez
I'm not 100% sure and haven't really looked deeply at this comment or link you mention, but perhaps this is related to http://dev.clojure.org/jira/browse/CLJ-979. This would only be the case for Clojure-dynamically generated Java classes though, which is those from deftype or the macros built

Re: Multimethod dispatch based on Java classes is simply not reliable.

2014-12-13 Thread David Nolen
Yes sorry that commit should have been a bit more specific, the issue is around deftype/defrecord generated classes. David On Sat, Dec 13, 2014 at 7:59 PM, Mike Rodriguez mjr4...@gmail.com wrote: I'm not 100% sure and haven't really looked deeply at this comment or link you mention, but