[Vm-dev] Re: [squeak-dev] Re: [Pharo-dev] problem with become:?

Eliot Miranda eliot.miranda at gmail.com
Sat Jan 9 00:20:29 UTC 2016


Hi Doru, Hi Nicolai,

On Fri, Jan 8, 2016 at 2:33 PM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

>
>
> On Fri, Jan 8, 2016 at 2:11 PM, Nicolai Hess <nicolaihess at gmail.com>
> wrote:
>
>>
>>
>>
>> 2016-01-08 23:09 GMT+01:00 Eliot Miranda <eliot.miranda at gmail.com>:
>>
>>> Hi Doru,
>>>
>>> On Fri, Jan 8, 2016 at 12:02 PM, Tudor Girba <tudor at tudorgirba.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> If I execute the following code in the latest Pharo image:
>>>>
>>>> Object subclass: #A
>>>>         instanceVariableNames: ''
>>>>         classVariableNames: ''
>>>>         package: 'AA'.
>>>> Object subclass: #B
>>>>         instanceVariableNames: ''
>>>>         classVariableNames: ''
>>>>         package: 'AA'.
>>>> a := A new.
>>>> b := B new.
>>>> a become: b.
>>>> a class
>>>>
>>>> ==> “A".
>>>>
>>>> In a pre-Spur image, I used to get “B”. Is this a bug, or is there a
>>>> change I am not aware of?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>
>>> Looks like a bug to me.  I'll fix it asap.
>>>
>>
>>
>> There is another bug report at
>> http://bugs.squeak.org/view.php?id=7845
>>
>> | obj1 obj2 |
>> obj1 := 'string'.
>> obj2 := 1.234.
>> obj1 become: obj2.
>> {obj1. obj2} "=> #('X9 LÈv¾' 'string'). it should be #(1.234 'string') "
>>
>> Squeak Cog Supr Virtual Machine 4.0.3427.0
>>
>>
>> Is it related?
>>
>
> Thank you, certainly looks like it.
>

The good news is that these are not bugs in the simulator.  So I need to
generate new sources and working VMs (and Esteban will need to rebuild the
Pharo 5 VM) and then the bugs should be fixed.  There's a slim possibility
that this could be due to a Slang bug but I doubt it.


--
>>>> www.tudorgirba.com
>>>> www.feenk.com
>>>>
>>>> "Things happen when they happen,
>>>> not when you talk about them happening."
>>>
>>>
>>> _,,,^..^,,,_
>>> best, Eliot
>>>
>>> _,,,^..^,,,_
> best, Eliot
>

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160108/c923e71f/attachment.htm


More information about the Squeak-dev mailing list