On 09 Jan 2016, at 01:20, Eliot Miranda <eliot.miranda@gmail.com> wrote:Hi Doru, Hi Nicolai,On Fri, Jan 8, 2016 at 2:33 PM, Eliot Miranda <eliot.miranda@gmail.com> wrote: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.0Is 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