<< Back to previous view

[MATCH-27] match eats exceptions Created: 06/Oct/11  Updated: 28/Jul/13  Resolved: 06/Oct/11

Status: Closed
Project: core.match
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: mindslight Assignee: David Nolen
Resolution: Completed Votes: 0
Labels: None
Environment:

match 0.2.0-alpha4, clojure 1.2.0



 Description   

user=> (match-1 :a :a (throw (Exception.)) :else :c)
:c

I would expect the exception to flow through the match. Instead, it gets eaten and one is left wondering why the proper clause "isn't matching".



 Comments   
Comment by David Nolen [ 06/Oct/11 10:51 PM ]

Fixed, https://github.com/clojure/core.match/commit/94f240dee09434ab87d2f901c647fdbd73792e89

Generated at Wed Apr 23 17:58:12 CDT 2014 using JIRA 4.4#649-r158309.