Channels with transducer using reduced don't work as intended

Description

ClassCastException clojure.lang.PersistentVector cannot be cast to java.util.concurrent.locks.Lock clojure.core.async.impl.channels.ManyToManyChannel (channels.clj:55)

This does not happen if a take is made before the first put so that the buffer size fits. The problem doesn't seem to be related only to the buffer size though.

ClassCastException clojure.lang.PersistentVector cannot be cast to java.util.concurrent.locks.Lock clojure.core.async.impl.channels.ManyToManyChannel (channels.clj:55)

Environment

CLJ 1.7.0-RC1, (CLJS not tested)

Activity

Show:
Alex Miller
December 2, 2019, 2:49 PM

Not reproducible on latest core.async.

Cannot Reproduce

Assignee

Ghadi Shayban

Reporter

Leon Grapenthin

Labels

Approval

None

Patch

None

Priority

Major