TxText-Athens can not load into pharo4
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 :) nicolai
On 08 Sep 2014, at 20:19, Nicolai Hess <nicolaihess@web.de> 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) Marcus
On 09 Sep 2014, at 09:53, Marcus Denker <marcus.denker@inria.fr> wrote:
On 08 Sep 2014, at 20:19, Nicolai Hess <nicolaihess@web.de> 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
participants (2)
-
Marcus Denker -
Nicolai Hess