core/bean iterator is broken

Description

The bean iterator implementation is returning the wrong data. One place the iterator is used is with transduce, which is under into:

Cause: The iterator impl in bean is incorrectly implemented and exposing some of the inner details instead.

Approach: Pull an iterator from the seq impl. The seq impl uses an embedded fn - the patch pulls that up and invokes from both seq and iterator.

Patch: clj-1841.patch

Environment

java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Attachments

1

Activity

Show:
Completed

Details

Assignee

Reporter

Labels

Approval

Ok

Patch

Code and Test

Priority

Affects versions

Fix versions

Created November 2, 2015 at 8:52 PM
Updated September 6, 2017 at 5:42 PM
Resolved September 6, 2017 at 5:42 PM