Issue 6566 in pharo: joining dictionaries does not work properly

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

Issue 6566 in pharo: joining dictionaries does not work properly

pharo
Status: Accepted
Owner: ----
Labels: Milestone-1.4 Type-Bug

New issue 6566 by [hidden email]: joining dictionaries does not work  
properly
http://code.google.com/p/pharo/issues/detail?id=6566

The result of #union: gives a wrong result.
I have not check this in Pharo 2.0, but it works in Pharo 1.3

Here a small example:

a:= Dictionary new.
a at: #a put: {1 . 2}.
a at: #b put: {1 . 2}.

b:= Dictionary new.
b at: #a put: {3}.
b at: #c put: {1 . 2}.

a union: b



_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Cc: [hidden email]
        Labels: Milestone-2.0

Comment #1 on issue 6566 by [hidden email]: joining dictionaries does  
not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

in 1.3 that answers

  a Dictionary(#a->#(3) #b->#(1 2) #c->#(1 2) )

you are missing the first #a values (but has some sense), are you aware of  
that?

in 1.4/2.0 that answers:

  a Dictionary(1->#(1 2) 2->#(3) )

which is a complete mess


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: FixReviewNeeded

Comment #2 on issue 6566 by [hidden email]: joining dictionaries does  
not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

reintroducing HashedCollection>>#union: seems to restore the old  
behavior... but I dunno why it was removed at the first time.
Can someone check this is ok?


Attachments:
        HashedCollection-union.cs  402 bytes


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: NoSourcesAvailable

Comment #3 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566#c3

This Issue has been checked by Ulysse the Monkey, but no sources are  
available

Someone should have a look either to check the validity of the source or to  
report a strange behavior of a crazy monkey.


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: HumanReviewNeeded

Comment #4 on issue 6566 by [hidden email]: joining dictionaries does  
not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

(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 6566 in pharo: joining dictionaries does not work properly

pharo

Comment #5 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

We can remove it from Set then.


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: FixToInclude

Comment #6 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

(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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: Integrated

Comment #7 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

in 2.0 252


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: FixToInclude
        Labels: -Milestone-2.0

Comment #8 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

TODO: 1.4


_______________________________________________
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 6566 in pharo: joining dictionaries does not work properly

pharo
Updates:
        Status: Integrated

Comment #9 on issue 6566 by [hidden email]: joining dictionaries  
does not work properly
http://code.google.com/p/pharo/issues/detail?id=6566

in 1.4 459


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