hash in object bug
[1/2] from: dlhawley::attbi::com at: 9-Mar-2002 9:25
I've just discovered arather crazy behavior of hashs inside an object -
they don't seem to be unique!
Succinct example:
>> aa: make object! [ h: make hash! [] ]
>> bb: make aa []
>> append aa/h [ 1 2 ]
== make hash! [1 2]
>> probe bb
make object! [
h: make hash! [1 2]
]
>>
Why in the world is aa/h the same object as bb/h ? This is a real pain
to say the least.
Dave
[2/2] from: holger:rebol at: 9-Mar-2002 9:52
On Sat, Mar 09, 2002 at 09:25:53AM -0800, David Hawley wrote:
> I've just discovered arather crazy behavior of hashs inside an object -
> they don't seem to be unique!
This will be fixed in Core 2.6. Lists have the same bug.
--
Holger Kruse
[kruse--nordicglobal--com]