> On 02 Apr 2015, at 14:23, Stefan Marr <[email protected]> wrote:
> 
> Hi:
> 
> Is the following expression supposed to work?
> 
> Class new compile: ‘foo: a ^ a’
> 

I think people use the classbuilder/classInstaller for creating classes. 
#newAnonymousSubclass uses it:

e.g. 

Object newAnonymousSubclass  compile: ‘foo: a ^ a’

> 
> The issue is that the `layout` of the result of `Class new` is nil, which 
> cases the compiler to fail, when it sends #allSlots when determining the 
> instanceScope.

We should fix that… “Class new” should return a class with valid default values.

        Marcus

Reply via email to