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