Syntax Error: Cannot store into

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntax Error: Cannot store into

Mark Rizun
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
Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

EstebanLM
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>


Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

Mark Rizun
Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>



Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

EstebanLM
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 <[hidden email]> wrote:

Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>




Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

Mark Rizun
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 <[hidden email]>:
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 <[hidden email]> wrote:

Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>





Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

Uko2
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 <[hidden email]> 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 <[hidden email]>:
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 <[hidden email]> wrote:

Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>





Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

Mark Rizun
Now that's not strange.
Thanks for info


2014-09-06 11:49 GMT+03:00 Yuriy Tymchuk <[hidden email]>:
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 <[hidden email]> 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 <[hidden email]>:
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 <[hidden email]> wrote:

Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>






Reply | Threaded
Open this post in threaded view
|

Re: Syntax Error: Cannot store into

EstebanLM
he, I missed that discussion :)
good to know!

Esteban

On 06 Sep 2014, at 10:53, Mark Rizun <[hidden email]> wrote:

Now that's not strange.
Thanks for info


2014-09-06 11:49 GMT+03:00 Yuriy Tymchuk <[hidden email]>:
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 <[hidden email]> 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 <[hidden email]>:
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 <[hidden email]> wrote:

Package of my project RewriteTool.


2014-09-06 11:33 GMT+03:00 Esteban Lorenzano <[hidden email]>:
which package?


On 06 Sep 2014, at 10:28, Mark Rizun <[hidden email]> 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.
>