[REBOL] Probable hash! bug
From: rsnell:webtrends at: 19-Sep-2000 10:55
A hash in an object doesn't seem to act like a block.
Here is a console session that shows the problem.
>> o!: make object! [h: make hash! 10 b: make block! 10]
>> probe o!
make object! [
h: make hash! []
b: []
]
>> obj: make o! []
>> probe obj
make object! [
h: make hash! []
b: []
]
>> append obj/h 'one
== make hash! [one]
>> append obj/b 'one
== [one]
>> probe obj
make object! [
h: make hash! [one]
b: [one]
]
>> probe o!
make object! [
h: make hash! [one]
b: []
]
>>
Huh? It seems wrong that the word 'h in o! would be changed. The normal
block 'b seems to be handled correctly, though.
Rodney