This looks like the minimal case:

;; beta1
user=> (let [x 1] (let [{:keys [a b] :or {a b}} {}] a))

CompilerException java.lang.RuntimeException: Unable to resolve symbol: b
in this context, compiling:(/tmp/form-init3618156055290903409.clj:1:12)

This returns nil in at least alpha1, could someone else please figure out
exactly where this fails?

Thanks,
Ambrose

On Sun, Apr 19, 2015 at 3:08 PM, <vrak...@gmail.com> wrote:

> Possible issue with doseq in 1.7.0-beta1? Was working in 1.7.0-alpha5.
> (Found with clj-jgit)
>
> Leiningen 2.5.1 on Java 1.8.0_31 Java HotSpot(TM) 64-Bit Server VM
>
>
> Error:
>
> #error{:cause Unable to resolve symbol: private-key in this context, :via
> [{:type clojure.lang.Compiler$CompilerException, :message
> java.lang.RuntimeException: Unable to resolve symbol: private-key in this
> context, compiling:(clj_jgit/porcelain.clj:481:40), :at
> [clojure.lang.Compiler analyze Compiler.java 6543]} {:type
> java.lang.RuntimeException, :message Unable to resolve symbol: private-key
> in this context, :at [clojure.lang.Util runtimeException Util.java 221]}],
> :trace [[clojure.lang.Util runtimeException Util.java 221] …
>
>
> Files:
>
> ;; project.clj
> (defproject abc "0.1.0-SNAPSHOT"
>   :main abc.core
>   :dependencies [;[org.clojure/clojure "1.7.0-alpha5"] ;;- no error
>                  [org.clojure/clojure "1.7.0-beta1"]
>                  [clj-jgit "0.8.4"]])
>
> ;; src/abc/core.clj
> (ns abc.core
>   (:require clj-jgit.porcelain))
>
>
> Link to clj-jgit:
>
>
> https://github.com/clj-jgit/clj-jgit/blob/7817456d55793095fd7dac5de92a0796ded25572/src/clj_jgit/porcelain.clj#L481
>
> --
> 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.
>

-- 
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