|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: [bug] deepCopy on Dictionary doesn't work. |
Date: | Tue, 02 Oct 2007 09:27:51 -0700 |
Project: GNU Smalltalk Version: <none> Component: Base classes Category: bug reports Priority: normal -Assigned to: Unassigned +Assigned to: bonzinip Reported by: elmex Updated by: bonzinip -Status: active +Status: reviewed Attachment: http://smalltalk.gnu.org/files/issues/gst-dictionary-deepcopy.patch (736 bytes) Fixed with the attached patch. It copies both keys and values. Do you reckon it would be better to only copy values? st> (Dictionary from: {'a' -> 1}) deepCopy keys anyOne == 'a' false st> (Dictionary from: {'a' -> 1}) deepCopy keys anyOne = 'a' true
[Prev in Thread] | Current Thread | [Next in Thread] |