Hi,
ruslan usifov wrote:
> On this code rakudo will hung
>
> sub test($test is write)
> {
> print $test
> };
>
> test(12);
>
>
> And i think that is must be compiler error, with message Like this "can't
> pass const as reference" or something else.
Actually it should complain about 'is wr
On this code rakudo will hung
sub test($test is write)
{
print $test
};
test(12);
And i think that is must be compiler error, with message Like this "can't
pass const as reference" or something else.
On this code rakudo will hung
sub test($test is write)
{
print $test
};
test(12);
And i think that is must be compiler error, with message Like this "can't
pass const as reference" or something else.