Clojure

clojure.data/diff does not correctly handle arrays as first argument

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Ok

Description

The EqualityPartition implementation correctly branches, placing arrays into the sequential partition. The Diff implementation needs a similar branch.

Activity

Hide
Stuart Halloway added a comment -

This patch is smaller than it looks: the only real change is the one line in Object's diff-similar. The rest is just extracting diff-sequential as a helper (now called from two places), and grouping the private helpers together in the file.

Show
Stuart Halloway added a comment - This patch is smaller than it looks: the only real change is the one line in Object's diff-similar. The rest is just extracting diff-sequential as a helper (now called from two places), and grouping the private helpers together in the file.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: