Issue 5237 in pharo: as: LinkedList does not behave as expected

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

Issue 5237 in pharo: as: LinkedList does not behave as expected

pharo
Status: Accepted
Owner: [hidden email]

New issue 5237 by [hidden email]: as: LinkedList does not behave as  
expected
http://code.google.com/p/pharo/issues/detail?id=5237

In Pharo 1.4 and earlier, try

self deny: ((1 to: 10) as: LinkedList) isEmpty


_______________________________________________
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 5237 in pharo: as: LinkedList does not behave as expected

pharo

Comment #1 on issue 5237 by [hidden email]: as: LinkedList does not  
behave as expected
http://code.google.com/p/pharo/issues/detail?id=5237

a solution would be to implement LinkedList class>>newFrom: as ^self  
withAll:


_______________________________________________
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 5237 in pharo: as: LinkedList does not behave as expected

pharo
Updates:
        Labels: Milestone-1.4

Comment #2 on issue 5237 by [hidden email]: as: LinkedList does not  
behave as expected
http://code.google.com/p/pharo/issues/detail?id=5237

so do we do it?



_______________________________________________
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 5237 in pharo: as: LinkedList does not behave as expected

pharo
Updates:
        Status: FixReviewNeeded
        Labels: Difficulty-Easy Type-Bug

Comment #3 on issue 5237 by [hidden email]: as: LinkedList does not  
behave as expected
http://code.google.com/p/pharo/issues/detail?id=5237

Hey I'm very very busy with my newborn child, and filling an issue report  
is already a contribution ;)
Since this one is simple enough, here is a quick fix for my pleasure.
IMO, the test should be traitified in the future.

Name: SLICE-Issue-5537-as-LinkedList-does-not-behave-as-expected-nice.1
Author: nice
Time: 8 February 2012, 9:50:38 pm
UUID: 4928350a-55e6-4272-8897-d72d31ace406
Ancestors:
Dependencies: Collections-Sequenceable-nice.116, CollectionsTests-nice.549

Test and fix for http://code.google.com/p/pharo/issues/detail?id=5237
((1 to: 10) as: LinkedList) behavesUnexpectedly.



_______________________________________________
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 5237 in pharo: as: LinkedList does not behave as expected

pharo
Updates:
        Status: Integrated

Comment #4 on issue 5237 by [hidden email]: as: LinkedList does not  
behave as expected
http://code.google.com/p/pharo/issues/detail?id=5237

in 14323


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