conj can not handle the clojure.lang.LongRange object correctly

Description

The conj of clojure-clr can not handle a clojure.lang.LongRange object, while clojure-java handles that case correctly.
For cons the behavior of clojure-clr and clojure-java is the same.

------------- clojure clr -------------------- user=> (conj (range 3) 5)
NotImplementedException The method or operation is not implemented. clojure.lan
g.LongRange.cons (:0)
user=> (cons 5 (range 3))
(5 0 1 2)

---------------- clojure java ----------------- user=> (conj (range 3) 5)
(5 0 1 2)
user=> (cons 5 (range 3))
(5 0 1 2)

---------------- discussed on clojure-clr group and it was decided to add a Jira ticket

Environment

clojure-clr and clojure-java

Activity

Show:
David Miller
April 8, 2017, 11:26 PM

Commit 431367c, 2017.04.08

Completed

Assignee

David Miller

Reporter

Cees van Kemenade