Clojure

bit-clear index should be zero based

Details

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

Description

As posted to the mailing list: https://groups.google.com/d/topic/clojure/ky_cVkQyhNw/discussion

alpha7 introduced a regression where the bit-clear index is no longer zero based

user> clojure-version
{:major 1, :minor 3, :incremental 0, :qualifier "alpha4"}
user> (bit-clear 3 1)
1
user> (bit-clear 3 0)
2
user> (bit-clear 3 2)
3
user>
user> clojure-version
{:major 1, :minor 3, :incremental 0, :qualifier "alpha7"}
user> (bit-clear 3 1)
2
user> (bit-clear 3 0)
1
user> (bit-clear 3 2)
0

Activity

Hide
Alexander Taggart added a comment -

Patch fixes regression and adds some tests.

Show
Alexander Taggart added a comment - Patch fixes regression and adds some tests.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: