core.match

Map pattern with vector key raises "clojure.lang.PersistentVector cannot be cast to clojure.lang.Named" exception

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    Java 1.8.0_11, Clojure 1.7.0-beta2, core.match 0.2.2 and 0.3.0-alpha4

Description

The following pattern throws "CompilerException java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to clojure.lang.Named":

(let [x {[1] 2}]
(match [x]
[{[1] _}] true))

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: