core.match

match eats exceptions

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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".

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: