There is already RBUncommonMessageSendRule which checks for #(#self #super 
#thisContext #true #false #nil). I could also extend it to temps and args.

Uko

> On 3 Nov 2016, at 15:17, stepharo <steph...@free.fr> wrote:
> 
> Hi
> 
> I often end up forgetting a period.
> 
> printOn: aStream
>    super printOn: aStream.
>    aStream nextPutAll: ' "'
>    aStream nextPutAll: contents.
>    aStream nextPutAll: '" '.
> 
> 
> And statically the system could see it with a simple heuristics:
> 
>    if the message as the same name as self, super, a tmp or an argument
> 
> May be there is a missing period.
> 
> Could the compiler get this analysis?
> 
> Stef
> 
> 


Reply via email to