On Jun 23, 5:17 pm, Michał Marczyk <michal.marc...@gmail.com> wrote: > Hi, > > just noticed that > > (defprotocol Foo (foo [self])) > (defrecord Bar [x] Foo (foo [self] x)) > > gives areflectionwarning-- "call to contains can't be resolved". > > My initial guess is that this is due to a missing hint on line 215 in > core_deftype.clj.
Yes, same here. A minimal example for the repl: (do (set! *warn-on-reflection* true) (defrecord Foo [])) ==> Reflection warning -- 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