[squeak-dev] Question about inlining | How to access named temps in FullBlockClosure?

Christoph Thiede christoph.thiede at student.hpi.uni-potsdam.de
Fri Mar 27 16:10:12 UTC 2020


Hi Eliot,

> 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,
<http://forum.world.st/The-Inbox-ShoutCore-ct-78-mcz-tp5109909p5110050.html>  
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 ;-)

Best,
Christoph



--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html


More information about the Squeak-dev mailing list