thanks
marcus this is good that we hide such ugly API ccIndex:

Stef

On Thu, 19 Jan 2017 09:34:42 +0100, denker <marcus.den...@inria.fr> wrote:

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 <stephar...@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





--
Using Opera's mail client: http://www.opera.com/mail/

Reply via email to