Cyril, something like this:
| env rewriter result methods changes |
env := RBBrowserEnvironment default forPackages: (RPackageOrganizer default
packages ).
rewriter := RBParseTreeRewriter new.
rewriter
replace:'`@receiver detect: `@arg1 ifFound: [ :`arg2 | `arg2 ] ifNone:
`@arg3' with:
Hi,
I was wondering if it was possible with the parse tree rewriter to match
a block parameter?
I would like to be able, for example, to rewrite:
`#() detect: #odd ifFound: [ :e | e ] ifNone: [ self toto ]`
as
`#() detect: #odd ifNone: [ self toto ]`
But I don't know how to express this rule
Hi -
In Pharo 7 I'm having an issue with a particular class where if I browse it in
Calypso I can see & navigate among the methods in the class.
If I run some of the methods I get dnu errors for methods I can see in the
class browser.
If I re-save a method that has the dnu without
Hi Christophe,
This version is definitely cooler :)
I just wander as for the previous version why deleting image can take some
time, whereas it’s quick to delete the image repository. Is it normal ?
Another thing that might help my way of doing things. I like to "save as" the
image so as to