Jan. 19, 2017
8:34 a.m.
There is #newAnonymousSubclass for creating a subclass from the current class. It seems that this is what this code is trying to do. Marcus
On 15 Jan 2017, at 09:40, stepharong <stepharong@free.fr> wrote:
HI
I need to migrate
pvtNewSubclass
| newClass | newClass := Behavior new. newClass superclass: self. newClass setFormat: (ClassBuilder new computeFormat: #normal instSize: 0 forSuper: self ccIndex: 0). ^newClass
and I'm looking at how to express (ClassBuilder new computeFormat: #normal instSize: 0 forSuper: self ccIndex: 0). in Pharo 60.
Stef