2017-04-04 10:31 GMT+02:00 Denis Kudriashov <[email protected]>:

>
> 2017-04-04 10:15 GMT+02:00 Pavel Krivanek <[email protected]>:
>
>>
>> initialize
>> super initialize.
>> noBindingBlock := [ objectSpace nilObject ]
>>
>> because noBindingBlock was undeclared, it created a reference from
>> globals (Undeclared) to a particular context with all mess it referenced.
>>
>
> I think system should at least skip assignment to undeclared variable. So
> it should never store any value. But better would be raise error on
> assignment. So user will immediately see where is a problem.
>

The undeclared mechanism is regularly used e.g. during loading of packages.
So if we will do something like this, rather not for Pharo 6 :-)

-- Pavel

Reply via email to