Hi Andrew,

Are you pulling our leg? Remember 'self ?

>> o: make object! [h: make hash! []]
>> second o/self
== [
    make object! [
        h: make hash! []
    ] make hash! []]
>> second o/self/self
== [
    make object! [
        h: make hash! []
    ] make hash! []]
>> o/self/self/self/self/self/self/h
== make hash! []

This is with the non-experimental REBOL/Core. It's interesting that /View
thinks it's necessary to put the ... indicating recursion when there's no
recursion involved. Maybe THAT's a bug.

Eric

>Bug! - 'second on object containing ONE hash! has TWO hash! !!
>
>REBOL/View 0.10.35.3.1 30-Sep-2000
>Copyright 2000 REBOL Technologies.  All rights reserved.
>>> o: make object! [h: make hash! []]
>>> o/h
>== make hash! []
>>> second o
>== [
>    make object! [
>        h: make hash! []
>    ] make hash! [...]]
>>> append o/h 1
>== make hash! [1]
>>> second o
>== [
>    make object! [
>        h: make hash! [1]
>    ] make hash! [...]]
>>>
>
>I'm fairly sure that this line:
>        make hash! [...]
>    shouldn't be present in 'o.

Reply via email to