leonoel / cloroutine

Coroutine support for clojure
Eclipse Public License 2.0
230 stars 10 forks source link

[cljs] catch-less finally clears exception #14

Closed leonoel closed 4 years ago

leonoel commented 4 years ago

This block throws the error as expected :

((cr {} (try (throw (js/Error. "This is fine.")) (catch :default e (throw e)) (finally))))

This block throws nil :

((cr {} (try (throw (js/Error. "This is fine.")) (finally))))
leonoel commented 4 years ago

Fixed in version 10