[squeak-dev] Question about inlining | How to access named temps in FullBlockClosure?
christoph.thiede at student.hpi.uni-potsdam.de
Fri Mar 27 16:10:12 UTC 2020
> Quite right. Can you find out how common cases like these are? I bet you
> there will be five methods or less in trunk that are affected.
I did a full search in my image:
pattern := '.*to\:[\s\r\n]*\w+[\s\r\n]*do\:[\s\r\n]*\[[^\]]*\[.*' asRegex.
self systemNavigation allMethods select: [:m |
pattern matches: m getSource].
My Source Files are very slow,
so I interrupted the script after one hour, but I still found more than 250
matches. I took some samples and they looked indeed relevant. Nested #to:do:
loops, for example ...
Or do I misunderstand your idea of a rule?
However, if we can agree on leaving it as it is, it's irrelevant ;-)
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
More information about the Squeak-dev