Issue 5135 in pharo: Set>>grow buggy for sets with nil

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5135 in pharo: Set>>grow buggy for sets with nil

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Bug Milestone-1.4

New issue 5135 by [hidden email]: Set>>grow buggy for sets with nil
http://code.google.com/p/pharo/issues/detail?id=5135


| set |
set := IdentitySet new.
set add: nil.
set grow.
self assert: (set includes: nil)


fix attached.
and the above should be placed in test(s).


Attachments:
        set-nil-grow-fix.1.cs  1.1 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5135 in pharo: Set>>grow buggy for sets with nil

pharo
Updates:
        Status: FixToInclude

Comment #1 on issue 5135 by [hidden email]: Set>>grow buggy for sets  
with nil
http://code.google.com/p/pharo/issues/detail?id=5135

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5135 in pharo: Set>>grow buggy for sets with nil

pharo

Comment #2 on issue 5135 by [hidden email]: Set>>grow buggy for sets  
with nil
http://code.google.com/p/pharo/issues/detail?id=5135

testGrowWithNil
        "self run: #testGrowWithNil"
        "This test covers that grow take into account that nil are wrapped  
elements of sets"
        | set |
        set := IdentitySet new.
        set add: nil.
        set grow.
        self assert: (set includes: nil)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5135 in pharo: Set>>grow buggy for sets with nil

pharo
Updates:
        Status: Closed

Comment #3 on issue 5135 by [hidden email]: Set>>grow buggy for sets  
with nil
http://code.google.com/p/pharo/issues/detail?id=5135

in 14276


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker