Hi:

Is the following expression supposed to work?

Class new compile: ‘foo: a ^ a'

I am on the latest Pharo 4 image.
There is a test doing `Behavior new compile:` in BehaviorTest>>#testCompile but 
this test doesn’t use any variables/arguments, so the problem does not appear.

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.

Thanks
Stefan

-- 
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/




Reply via email to