On Dec 23, 2012, at 8:50 AM, Peter Taoussanis wrote: > Were any breaking changes made between alpha3 and RC1? I haven't spent much > time trying to track down causes so it's very possible I'm mistaken, but I > seem to be running into some weird behavior under RC1. > > Specifically, seem to be having trouble with > `ring.middleware.reload/wrap-reload`: > Exception in thread "main" java.lang.IllegalArgumentException: contains? not > supported on type: clojure.lang.LazySeq, compiling:(routes.clj:294:3) > Line 294 is where the wrap-reload is applied, and this compiles fine under > alpha3.
Peter: This exception you show above is new with this commit for CLJ-932: https://github.com/clojure/clojure/commit/3acb6ee7ec5c295ae14de861d03a5efd115a5968 http://dev.clojure.org/jira/browse/CLJ-932 It appears that somewhere in ring or other code you are using, there is a call to contains? on a lazy sequence. Before this always silently returned false, but now it throws an exception, in hopes of catching bugs in code where contains? is called on collections for which it doesn't make sense. Andy -- 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