Oh, the rate of false positive is so low in this case, less than 1 out of 1000 I guess...
Here is a super twisty workaround (I don't really recommend it, but for the fun)

A := [:a | ... a value: a].
self doSomethingLike: [A value: A].

2015-11-29 16:37 GMT+01:00 Johan Fabry <jfabry@dcc.uchile.cl>:

> On Nov 29, 2015, at 10:21, Thierry Goubier <thierry.goubier@gmail.com> wrote:
>
> Le 29/11/2015 14:14, Nicolas Cellier a ��crit :
>> It's nice, but I like the Compiler to be pedantic in such cases and
>> manifest itself BEFORE accepting the method.
>> One thing is suspicious patterns, another is obviously wrong code. Can't
>> we have graduated responses?
>
> The problem is that certain semantic warnings were false positives, as the recursive block definition.
>
> A := [ ... A value ].

Indeed, this warning happens to me from time to time (I tend to use blocks as lambdas in some cases) and it is *extremely* annoying to have to close the warning window every time. I think I will address that tomorrow ���


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry�� ��-�� ��http://pleiad.cl/~jfabry
PLEIAD and RyCh labs�� -�� Computer Science Department (DCC)�� -�� University of Chile