On Thu, Sep 22, 2011 at 6:56 PM, ronen <nark...@gmail.com> wrote: > Thanks David, the ns is found now (using lein checkouts), one of the > reasons iv tried moving to latest snapshot was an error during > compilation for the following fn: > > (defn email-request [req] > (match [req] > [{:name _ :repo (r :when (comp not nil?)) :email email}] (notify- > user-constrained email "Your repository access request has been > approved" (<< "Verify that you can access it by cloning ~(:repo req) > repository.") @config) > [{:name _ :key _ :email email}] (notify-user-constrained email > "Your key request in gitolite was approved" (<< "Please verify that > your public key matches ~(:key req)") @config) > )) > > Exception in thread "main" java.lang.Exception: Unable to resolve > symbol: email in this context (notification.clj:43), it somehow passes > when I the repl but fails during compilation, > > I guess id rather open an issue for this :), > > Thank you David for an awesome library > Ronen
Looks like a legitimate bug around bindings. Please create JIRA ticket, http://dev.clojure.org/jira/browse/MATCH. It would be easier for me if you can submit an isolated sample case that exhibits the bug. David -- 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