[MATCH-27] match eats exceptions Created: 06/Oct/11 Updated: 06/Oct/11 Resolved: 06/Oct/11 |
|
| Status: | Resolved |
| 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) 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 |