:column metadata for sets should be an int

Description

Trying to eval the result of the above causes the compiler to throw: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer. This only affects Clojure 1.5.0 and Clojure 1.5.1.

The attached patch, 0001-TRDR-22-column-metadata-for-sets-should-be-an-int.patch, adds a call to int in read-set to ensure that the :column metadata is an int.

Environment

Clojure 1.5.0 / Clojure 1.5.1
Java 1.8.0_05

Activity

Show:
Nicola Mometto
March 27, 2015, 8:21 PM
Completed

Assignee

Nicola Mometto

Reporter

Michael Griffiths

Labels

None

Approval

None

Patch

Code

Priority

Major