Clojure

Regression - PersistentVector.create(List) was removed in 1.7.0-alpha5

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Completed
  • Affects Version/s: Release 1.7
  • Fix Version/s: Release 1.7
  • Component/s: None
  • Environment:
    1.7.0-alpha5
  • Patch:
    Code
  • Approval:
    Ok

Description

For CLJ-1546, PersistentVector.create(List) was replaced with PersistentVector.create(ArrayList). At least one library (flatland) was calling this method directly and was broken by the change.

Approach: Change create(ArrayList) to more general prior method create(List).

Patch: clj-1638-2.patch

Screened by:

  1. clj-1638.patch
    12/Jan/15 8:28 AM
    1 kB
    Alex Miller
  2. clj-1638-2.patch
    20/Feb/15 10:05 AM
    1 kB
    Alex Miller

Activity

Hide
Rich Hickey added a comment -

Is there a good reason to have both PersistentVector.create(List)and PersistentVector.create(ArrayList)?

Show
Rich Hickey added a comment - Is there a good reason to have both PersistentVector.create(List)and PersistentVector.create(ArrayList)?
Hide
Fogus added a comment -

This couldn't possibly be more straight-forward.

Show
Fogus added a comment - This couldn't possibly be more straight-forward.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: