argument of ifNotNil: must be a 0-argument block
Mathieu
mathk.sue at gmail.com
Sun Sep 3 12:21:47 UTC 2006
Klaus D. Witzel a écrit :
> On Sat, 02 Sep 2006 14:20:59 +0200, David T. Lewis wrote:
> ...
>> Tests are good, but they do not detect this kind of problem.
>
> Did you mean that in Smalltalk it is impossible to test, whether or not
> the compiler accepts a syntactical construct, like in " Compiler
> evaluate: 'put your test here' ".
>
> If not, mind to explain what it is that cannot be detected.
>
> /Klaus
>
>> Dave
>
>
>
This is beceause #ifNotNil: it's never call(compier inline it) so you do not know if the guy who
write #ifNotNil: implementation do it correctly.
I think it's why he say this.
Math
More information about the Squeak-dev
mailing list
|