Clojure

contains? broken for transient collections

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: Release 1.2
  • Fix Version/s: Release 1.7
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Vetted

Description

(contains? (transient {:x "fine"}) :x)

false

also

(contains? (transient (hash-map :x "fine")) :x)

false

Patch: clj-700-7.diff

  1. 0001-Refactor-of-some-of-the-clojure-.java-code-to-fix-CL.patch
    07/Jan/11 2:07 PM
    10 kB
    Alexander Redington
  2. clj-700.diff
    25/Mar/11 4:18 PM
    10 kB
    Alexander Redington
  3. clj-700-7.diff
    08/Nov/13 10:14 AM
    11 kB
    Andy Fingerhut
  4. clj-700-patch4.txt
    08/Jun/12 12:44 PM
    11 kB
    Stuart Halloway
  5. clj-700-patch6.txt
    19/Aug/12 4:47 AM
    11 kB
    Andy Fingerhut

Activity

Alexander Redington made changes -
Field Original Value New Value
Approval Vetted
Alexander Redington made changes -
Assignee Alexander Redington [ aredington ]
Alexander Redington made changes -
Alexander Redington made changes -
Patch Code and Test
Alexander Redington made changes -
Assignee Alexander Redington [ aredington ]
Alexander Redington made changes -
Approval Vetted Test
Stuart Halloway made changes -
Waiting On richhickey
Stuart Halloway made changes -
Approval Test Incomplete
Alexander Redington made changes -
Attachment clj-700-v2.diff [ 10162 ]
Alexander Redington made changes -
Attachment clj-700.diff [ 10165 ]
Alexander Redington made changes -
Attachment clj-700-v2.diff [ 10162 ]
Stuart Sierra made changes -
Waiting On richhickey
Andy Fingerhut made changes -
Attachment clj-700-patch2.txt [ 10922 ]
Andy Fingerhut made changes -
Attachment clj-700-patch3.txt [ 10981 ]
Andy Fingerhut made changes -
Attachment clj-700-patch2.txt [ 10922 ]
Rich Hickey made changes -
Fix Version/s Release 1.5 [ 10150 ]
Stuart Halloway made changes -
Approval Incomplete [ 10006 ] Screened [ 10004 ]
Attachment clj-700-patch4.txt [ 11301 ]
Andy Fingerhut made changes -
Attachment clj-700-patch3.txt [ 10981 ]
Rich Hickey made changes -
Fix Version/s Release 1.5 [ 10150 ]
Fix Version/s Approved Backlog [ 10034 ]
Andy Fingerhut made changes -
Attachment clj-700-patch5.txt [ 11336 ]
Andy Fingerhut made changes -
Attachment clj-700-patch6.txt [ 11449 ]
Andy Fingerhut made changes -
Attachment clj-700-patch5.txt [ 11336 ]
Stuart Sierra made changes -
Approval Screened [ 10004 ] Incomplete [ 10006 ]
Andy Fingerhut made changes -
Approval Incomplete [ 10006 ]
Alex Miller made changes -
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Backlog [ 10035 ]
Alex Miller made changes -
Fix Version/s Backlog [ 10035 ]
Alex Miller made changes -
Approval Vetted [ 10003 ]
Andy Fingerhut made changes -
Attachment clj-700-7.diff [ 12458 ]
Alex Miller made changes -
Description {{(contains? (transient {:x "fine"}) :x)}}
{quote}{{false}}{quote}

also

{{(contains? (transient (hash-map :x "fine")) :x)}}
{quote}{{false}}{quote}
{{(contains? (transient {:x "fine"}) :x)}}
{quote}{{false}}{quote}

also

{{(contains? (transient (hash-map :x "fine")) :x)}}
{quote}{{false}}{quote}

*Patch:* clj-700-7.diff
Alex Miller made changes -
Summary contains? broken for TransientMaps contains? broken for transient collections
Rich Hickey made changes -
Fix Version/s Release 1.7 [ 10250 ]

People

Vote (8)
Watch (5)

Dates

  • Created:
    Updated: