Adding an instance variable in the extend syntax break the subclass

Project:GNU Smalltalk
Component:VM
Category:bug
Priority:normal
Assigned:bonzinip
Status:fixed
Description

Step to reproduce:

    Eval [
        PackageLoader fileInPackage: 'Parser'
    ]

    STInST.RBProgramNode extend [
        | properties |
        change [
            properties := 4
        ]  
    ]

    Eval [
        | rbMethod |
        rbMethod := (STInST.RBParser parseMethod: 'foo: r | e d | e := 12. d:= e').
        rbMethod change.     
        rbMethod selector printNl.
    ]


The expected output should be:
#foo:

Actual result:
4

Updates

#1 submitted by Paolo Bonzini on Sat, 09/25/2010 - 15:43
Assigned to:Unassigned» bonzinip

Working on this.

#2 submitted by Paolo Bonzini on Sat, 10/16/2010 - 11:30
Status:active» fixed

fixed a while ago.

User login