On 09 Sep 2014, at 09:53, Marcus Denker <[email protected]> wrote:

> 
> On 08 Sep 2014, at 20:19, Nicolai Hess <[email protected]> wrote:
> 
>> TxHorizontalSlider>>#extent: 
>> writes to method argument
>> 
>> extent: newExtent
>> 
>>    newExtent := newExtent x @ self  defaultWidth.
>> 
>>    super extent: newExtent
>> 
>> This can not be loaded in Pharo4.0 anymore.
>> 
>> We should have made a compiler setting for this too :) 
>> 
> 
> I think we should make it fail in such a way that when you load code 
> non-interactively it just
> prints an error on the transcript, while is raises a real error when in 
> interactive mode.
> (like what happens with non-exisitng variables)
> 

We could solve the “assignment to block arg” transition the same way: allow it 
for non-iteractive
code loading, but when editing, raise an error.
This way we do not even need a preference for that.

        Marcus


Reply via email to