rewriter := RBParseTreeRewriter new 
                replace: 'attributes := OrderedCollection new.' 
                with: 'attributes := Set new'.
        tree := ConfigurationTemplate parseTreeFor: #customProjectAttributes.
        rewriter executeTree: tree.
returns true, but:
        rewriter := RBParseTreeRewriter new 
                replace: 'attributes := OrderedCollection new.' 
                with: 'attributes := Set new. self halt'.
        tree := ConfigurationTemplate parseTreeFor: #customProjectAttributes.
        rewriter executeTree: tree.
returns false.

Why does adding a statement cause this rewrite to fail and how should I bet
doing it?

Thanks,
Sean






--
View this message in context: 
http://forum.world.st/Adding-a-statement-when-rewriting-tp4668879.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to