Oct. 15, 2015
4:34 p.m.
On 15 Oct 2015, at 15:00, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi,
when a transformation rule checks a method, except for only checking whether it matches the rule, it also checks if
self class recursiveSelfRule executeTree: rewriteRule tree initialAnswer: false
evaluates to false. #recursiveSelfRule is
'`@methodName: `@args | `@temps | self `@methodName: `@args1' '`@methodName: `@args | `@temps | ^ self `@methodName: `@args1â
Do I understand correctly that before signaling that method is bad the rule makes sure that the transformation will not create a recursion?
Yes, I would say so. Although why that check is done to find matching methods I donât know.
Uko