On 05/19/2012 06:05 AM, Siddhant Saraf wrote:
> r: my $x = 4 + 2i; $x.re = 5;
> rakudo 45679a: OUTPUT«Cannot assign to a non-container in
> block at /tmp/PeeJaa8bWJ:1»
>
> I think $x.re (Real part of $x) and $x.im (Imaginary part of $x)
> should be allowed to be l-values.
> What do you sa
r: my $x = 4 + 2i; $x.re = 5;
rakudo 45679a: OUTPUT«Cannot assign to a non-container in
block at /tmp/PeeJaa8bWJ:1»
I think $x.re (Real part of $x) and $x.im (Imaginary part of $x)
should be allowed to be l-values.
What do you say? Will this affect the performance of Rakudo, Niecza ?
Recen