On Fri, Jan 8, 2016 at 2:11 PM, Nicolai Hess <nicolaihess@gmail.com> wrote:��2016-01-08 23:09 GMT+01:00 Eliot Miranda <eliot.miranda@gmail.com>:Hi Doru,On Fri, Jan 8, 2016 at 12:02 PM, Tudor Girba <tudor@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,
DoruLooks 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.
--
www.tudorgirba.com
www.feenk.com
"Things happen when they happen,
not when you talk about them happening."_,,,^..^,,,_best,��Eliot_,,,^..^,,,_best,��Eliot