We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
we should add an example showing how to install a transformed method.
| rewriter node method | rewriter := RBParseTreeRewriter new. rewriter replace: 'self shouldnt: [re compile] raise: Error' with: 'self compileIsOK'. method := (ReTest>>#testNewSuite3test10). node := method parseTree. (rewriter executeTree: node) ifFalse: [ ^ self ]. method origin compile: node formattedCode classified: method protocol
The text was updated successfully, but these errors were encountered:
#2288
Sorry, something went wrong.
this was merged
No branches or pull requests
we should add an example showing how to install a transformed method.
| rewriter node method |
rewriter := RBParseTreeRewriter new.
rewriter replace: 'self shouldnt: [re compile] raise: Error' with: 'self compileIsOK'.
method := (ReTest>>#testNewSuite3test10).
node := method parseTree.
(rewriter executeTree: node)
ifFalse: [ ^ self ].
method origin
compile: node formattedCode
classified: method protocol
The text was updated successfully, but these errors were encountered: