Before 1.8, clojure would accept wrong forms like (throw my-exception 1 2 3).

This is now an exception http://dev.clojure.org/jira/browse/CLJ-1456.


> On 8 Dec 2015, at 13:05, Noam Ben-Ari <nben...@gmail.com> wrote:
> 
> Hi,
> I have just tried 1.8.0-RC3 and saw a problem.
> 
> I have a project in which I run tests with `lein midje`, and this runs fine 
> with 1.7.0.
> 
> When I change the clojure dependency to 1.8.0-RC3 and run it I get this 
> exception:
> 
> ---
> 
> Exception in thread "main" java.lang.RuntimeException: Too many arguments to 
> throw, throw expects a single Throwable instance, 
> compiling:(reduce_fsm.clj:203:5)
> 
> ---
> 
> Let me know what other information I can give to help.
> 
> Thanks,
> Noam.
> 
> On Wednesday, December 2, 2015 at 6:03:31 PM UTC+2, Alex Miller wrote:
> Clojure 1.8.0-RC3 is now available. This build is a "release candidate"! We 
> would appreciate any and all testing you can do on your own libraries or 
> internal projects to find problems. 
> 
> Try it via
>       • Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-RC3
>       • Leiningen: [org.clojure/clojure "1.8.0-RC3"]
> Below are the changes since 1.8.0-RC2. See the full 1.8 change log here: 
> https://github.com/clojure/clojure/blob/master/changes.md.
>       • CLJ-1845 / CLJ-1851 New ^:redef to mark vars that should not be 
> direct linked
>               • The metadata ^:redef can be used to mark function vars that 
> should not be direct linked
>               • clojure.core/load was previously marked with ^:dynamic for 
> this purpose, but is now marked ^:redef
>       • CLJ-1856 Direct linking breaks clojure.test location reporting for 
> failures
>       • CLJ-1854 Set line number in bytecode prior to invokeStatic call
>       • CLJ-1853 In socket server, require the ns of the accept-fn before 
> resolving it
> 
> -- 
> 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