2016-11-03 21:53 GMT+01:00 Yuriy Tymchuk <yuriy.tymc...@me.com>: > There is already RBUncommonMessageSendRule which checks for #(#self #super > #thisContext #true #false #nil). I could also extend it to temps and args. > > Uko >
Hi Uko, I often write things like | abs | abs := self abs. so I would not like the temp/args rule... What make it obvious to our eyes is indentation in this case. >From compiler POV it's just a yet unimplemented message. Can we have rules about indentation? > > > 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 > > > > > > >