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

Tudor Girba tudor at tudorgirba.com
Fri Jan 8 22:12:27 UTC 2016


Hi,

> On Jan 9, 2016, at 12:09 AM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> 
> 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.

Thanks!

Doru

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

--
www.tudorgirba.com
www.feenk.com

"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."






More information about the Vm-dev mailing list