I'm trying to write a rewrite rule, but can't quite get it.

I first want to remove `spec blessing: #baseline.`

I tried the following with no effect:

RBParseTreeRewriter new
                replace: '`@expr blessing: `#lit'
                with: '';
                executeTree: methodTree;
                tree.

NB: If I try to edit the expression instead of remove, by passing something
like '`@expr assert: `#lit' for #with:, it works

What am I missing here?

Thanks!



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/Creating-a-BaselineOf-from-a-ConfigurationOf-baselineXyz-tp4949192.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to