Re: [Newbies] Re: Modify block (closure) parameters

2013-08-07 Thread Yoshiki Ohshima
At Wed, 07 Aug 2013 15:05:56 -0700, Edwin Castro wrote: > > On 8/7/13 12:33 PM, Levente Uzonyi wrote: > > On Wed, 7 Aug 2013, psea wrote: > > > >> What's worried me is that in other languages I'm familiar with it's a > >> normal > >> thing to assign to a function argument (Scheme, C, Python, JavaS

Re: [Newbies] Re: Modify block (closure) parameters

2013-08-07 Thread Edwin Castro
On 8/7/13 12:33 PM, Levente Uzonyi wrote: > On Wed, 7 Aug 2013, psea wrote: > >> What's worried me is that in other languages I'm familiar with it's a >> normal >> thing to assign to a function argument (Scheme, C, Python, JavaScript). > > Storing into a block or method argument is considered bad p

Re: [Newbies] Re: Modify block (closure) parameters

2013-08-07 Thread Levente Uzonyi
On Wed, 7 Aug 2013, psea wrote: Ok, i've got it. So in ST it's just not allowed assign to a block argument for some reason. Let's consider it a language feature. And it's ok, It's a compiler bug. The compiler doesn't handle this case. - TempVariableNode >> #analyseClosure: returns if the recei

[Newbies] Re: Modify block (closure) parameters

2013-08-07 Thread psea
Ok, i've got it. So in ST it's just not allowed assign to a block argument for some reason. Let's consider it a language feature. And it's ok, different language - different rules. Thanks for pointing me on that! Now, I've turn off allowBlockArgumentAssignment property. What's worried me is that