Small bug report

Throwable->map in core_print.clj doesn't handle Throwable.getCause 
returning null in L463. This results in a NPE in StrackTraceElement->vec in 
the same file in some cases, so printing a stacktrace results in a new 
Exception which is a bit confusing.

On Tuesday, July 5, 2016 at 9:50:47 PM UTC+2, Alex Miller wrote:
>
> Clojure 1.9.0-alpha9 is now available.
>
> Try it via
>
> - Download: 
> https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha9
> - Leiningen: [org.clojure/clojure "1.9.0-alpha9"]
>
> 1.9.0-alpha9 includes the following changes since 1.9.0-alpha8:
>
> - NEW clojure.spec/assert - a facility for adding spec assertions to your 
> code. See the docs for *compile-asserts* 
> <http://clojure.github.io/clojure/branch-master/clojure.spec-api.html#clojure.spec/*compile-asserts*>
>  
> and assert 
> <http://clojure.github.io/clojure/branch-master/clojure.spec-api.html#clojure.spec/assert>
>  
> for more details.
>
> - clojure.spec/merge - now merges rather than flows in conform/unform
>
> - clojure.spec.test/instrument now reports the caller that caused an :args 
> spec failure and ignores spec'ed macros
>
> - clojure.spec.test - `test`, `test-fn`, `testable-syms` renamed to 
> `check`, `check-fn`, and `checkable-syms` to better reflect their purpose. 
> Additionally, some of the return value structure of `check` has been 
> further improved.
>
> - clojure.core/Throwable->map formerly returned StackTraceElements which 
> were later handled by the printer. Now the StackTraceElements are converted 
> to data such that the return value is pure Clojure data, as intended.
>
>
>
>
>

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