Hi everyone! When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean? Best, Mark -- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
which package? On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool 2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
well, this is weird :) the error you have is usually because you have something like this: myMethod: aParameter ⦠aParameter := something. ⦠(same can happen with blocks). you cannot assign a parameter⦠and compiler protests if you try. but I wander how you could introduce the problem the first time. Compiler should deny that kind of construction. Anyway, your fix is to change that :) Esteban On 06 Sep 2014, at 10:39, Mark Rizun <mrizun@gmail.com> wrote:
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool
2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>: which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
You are right there is such a code. And it's really strange how it compiled earlier:) Thanks 2014-09-06 11:42 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
well, this is weird :) the error you have is usually because you have something like this:
myMethod: aParameter ⦠aParameter := something. â¦
(same can happen with blocks).
you cannot assign a parameter⦠and compiler protests if you try. but I wander how you could introduce the problem the first time. Compiler should deny that kind of construction.
Anyway, your fix is to change that :)
Esteban
On 06 Sep 2014, at 10:39, Mark Rizun <mrizun@gmail.com> wrote:
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool
2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
If you missed our discussion with Marcus, Opal allowed constructs like that until week ago. Uko Sent from my iPhone
On 06 Sep 2014, at 10:46, Mark Rizun <mrizun@gmail.com> wrote:
You are right there is such a code. And it's really strange how it compiled earlier:) Thanks
2014-09-06 11:42 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
well, this is weird :) the error you have is usually because you have something like this:
myMethod: aParameter ⦠aParameter := something. â¦
(same can happen with blocks).
you cannot assign a parameter⦠and compiler protests if you try. but I wander how you could introduce the problem the first time. Compiler should deny that kind of construction.
Anyway, your fix is to change that :)
Esteban
On 06 Sep 2014, at 10:39, Mark Rizun <mrizun@gmail.com> wrote:
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool
2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Now that's not strange. Thanks for info 2014-09-06 11:49 GMT+03:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>:
If you missed our discussion with Marcus, Opal allowed constructs like that until week ago.
Uko
Sent from my iPhone
On 06 Sep 2014, at 10:46, Mark Rizun <mrizun@gmail.com> wrote:
You are right there is such a code. And it's really strange how it compiled earlier:) Thanks
2014-09-06 11:42 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
well, this is weird :) the error you have is usually because you have something like this:
myMethod: aParameter ⦠aParameter := something. â¦
(same can happen with blocks).
you cannot assign a parameter⦠and compiler protests if you try. but I wander how you could introduce the problem the first time. Compiler should deny that kind of construction.
Anyway, your fix is to change that :)
Esteban
On 06 Sep 2014, at 10:39, Mark Rizun <mrizun@gmail.com> wrote:
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool
2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>:
which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com .
he, I missed that discussion :) good to know! Esteban On 06 Sep 2014, at 10:53, Mark Rizun <mrizun@gmail.com> wrote:
Now that's not strange. Thanks for info
2014-09-06 11:49 GMT+03:00 Yuriy Tymchuk <yuriy.tymchuk@me.com>: If you missed our discussion with Marcus, Opal allowed constructs like that until week ago.
Uko
Sent from my iPhone
On 06 Sep 2014, at 10:46, Mark Rizun <mrizun@gmail.com> wrote:
You are right there is such a code. And it's really strange how it compiled earlier:) Thanks
2014-09-06 11:42 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>: well, this is weird :) the error you have is usually because you have something like this:
myMethod: aParameter ⦠aParameter := something. â¦
(same can happen with blocks).
you cannot assign a parameter⦠and compiler protests if you try. but I wander how you could introduce the problem the first time. Compiler should deny that kind of construction.
Anyway, your fix is to change that :)
Esteban
On 06 Sep 2014, at 10:39, Mark Rizun <mrizun@gmail.com> wrote:
Package of my project RewriteTool. Here it is: http://smalltalkhub.com/#!/~MarkRizun/RewriteTool/packages/RewriteTool
2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <estebanlm@gmail.com>: which package?
On 06 Sep 2014, at 10:28, Mark Rizun <mrizun@gmail.com> wrote:
Hi everyone!
When loading a package via Monticello, while compiling methods it gives an error: Syntax Error: Cannot store into and then a method. What does it mean?
Best, Mark
-- View this message in context: http://forum.world.st/Syntax-Error-Cannot-store-into-tp4776675.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (3)
-
Esteban Lorenzano -
Mark Rizun -
Yuriy Tymchuk