I'm always applying the autoformatting before I save the method, which helps me a lot in detecting those problems, because I immediately see that the code is formatted strangely.
But of course analysis would be nice for people that don't use autoformatting, or for better (and automated) detection. Peter On Thu, Nov 03, 2016 at 05:47:51PM +0100, stepharo wrote: > > > Le 3/11/16 à 15:52, Esteban Lorenzano a écrit : > >wouldn’t this be better to solve this with QA? > but QA needs the analysis first. > > > >>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 > >> > >> > > > > > >