Re: [Pharo-users] RewriteToolbuilder question

2017-06-07 Thread werner kassens
On 06/07/2017 08:11 PM, Mark Rizun wrote: At first, I was not able to reproduce the error, but then I realised that you probably don't save the content of lower left and right parts (`@.Statements).Use cmd+s to save changes. The error is raised because parser tries to parse the old code (same

Re: [Pharo-users] RewriteToolbuilder question

2017-06-07 Thread Mark Rizun
At first, I was not able to reproduce the error, but then I realised that you probably don't save the content of lower left and right parts (`@.Statements).Use cmd+s to save changes. The error is raised because parser tries to parse the old code (same as in upper left part) with a method intended

Re: [Pharo-users] RewriteToolbuilder question

2017-06-07 Thread werner kassens
Hi Mark, the code from Number>>raisedTo: aNumber isInteger ifTrue: [ "Do the special case of integer power" ^ self raisedToInteger: aNumber]. aNumber isFraction ifTrue: [ "Special case for fraction power" ^ (self nthRoot: aNumber denominator)

Re: [Pharo-users] RewriteToolbuilder question

2017-06-07 Thread Mark Rizun
Hi Werner, I believe that I am the one to answer this question, but I need more information. Please, could you send the code that you have in upper left panel. Cheers, Mark 2017-06-07 18:46 GMT+02:00 Ben Coman : > I don't know much about RewriteToolbuilder, so probably

Re: [Pharo-users] RewriteToolbuilder question

2017-06-07 Thread Ben Coman
I don't know much about RewriteToolbuilder, so probably won't be the one to give a proper answer, but to help someone else answer... could you narrow down which video with a link? cheers -ben On Thu, Jun 8, 2017 at 12:05 AM, werner kassens wrote: > Hi, > i followed the

[Pharo-users] RewriteToolbuilder question

2017-06-07 Thread werner kassens
Hi, i followed the video and opened the RewriteToolbuilder on some code in pharo4.0. i then tried to keep things simple and made a transformationrule,which i thought would not change anything, by just copying "‘@.Statements." into the lower left & right panels (without the " of course).i then