April 5, 2015
10:06 a.m.
Hi, the Dictionary>>postCopy comment reads: "Must copy the associations, or later store will affect both the original and the copy However Association(Object)>>copy will neither copy 'key' (thats what I expect) nor 'value' (that makes the copy fail). I checked an older version of Squeak and VisualWorks 7 and found that also there Association misses a postCopy. My workaround for a Dictionary copy reads "... associationsDo: [ :a | a value: a value copy ] ". Does anybody know why Association does not contain this code in a postCopy method ? Thanks, Hartmut -- Hartmut Krasemann⨠Königsberger Str. 41 c â¨D 22869 Schenefeld⨠Tel. 040.8307097⨠Mobil 0171.6451283⨠krasemann@acm.org