2016-08-04 11:38 GMT+02:00 Nicolai Hess <nicolaihess@gmail.com>:
Hey Uko,
this pattern for a message sent:
`@msg:`@args
can match message sends with or without arguments, so it matches both
1 squared. and 1 raisedTo:2
The problem is that the first match "1 squared" will give a DNU on the right pane, as the argument var '@args is empty.
And if you match a method, it can happen that the keys <-> values in the map are actually strings or text and not a pattern variable (-source--, -pragma-, and the pattern method selector).
2016-08-04 10:23 GMT+02:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>:
Hi everyone!
Iâm happy to announce a new tool that can help you to understand to the pattern code is working in match & rewrite rules. You can read more on my blogpost: http://blog.yuriy.ty mch.uk/2016/08/matchtool.html The tool is available for Pharo 6 from the catalog.
Cheers! Uko