vec with nil meta should be identity

Description

Calling vec on a vector with nil meta should be identity.

Proposed: Check for the vector nil meta case and return coll unchanged. Note that vec occurs before either nil? or identical? in core.clj so reaches out to Util/identical instead.

Patch: clj-2361.patch

Environment

None

Activity

Show:
Alex Miller
June 21, 2018, 2:07 PM

Subsumed under CLJ-2362

Declined
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Alex Miller

Approval

Vetted

Patch

Code

Priority

Major

Affects versions

Fix versions