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 write' being neither a recognized
trait nor an implementation type.

Which version of Rakudo and parrot have you tried that with? on Linux
with the latest version from git (543e22878) it prints 12 here.

Cheers,
Moritz
-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/

Reply via email to