On Fri, 21 Jul 2017 07:30:38 -0700, comdog wrote:
> When I run perl6-debug-m from the Rakudo Star, I get this error:
> 
> $ perl6-debug-m test.p6
> Cannot find method 'setlang' on object of type Perl6::HookGrammar
>    at gen/moar/perl6-debug.nqp:407
> (/Applications/Rakudo/share/perl6/runtime/perl6-
> debug.moarvm:comp_unit)
>  from src/Perl6/Grammar.nqp:492
> (/Applications/Rakudo/share/nqp/lib/Perl6/Grammar.moarvm:TOP)
>  from gen/moar/stage2/QRegex.nqp:2315
> (/Applications/Rakudo/share/nqp/lib/QRegex.moarvm:parse)
>  from gen/moar/stage2/NQPHLL.nqp:1895
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:parse)
>  from gen/moar/stage2/NQPHLL.nqp:1836
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:run)
>  from gen/moar/stage2/NQPHLL.nqp:1846
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:)
>  from gen/moar/stage2/NQPHLL.nqp:1824
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:compile)
>  from gen/moar/stage2/NQPHLL.nqp:1570
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:eval)
>  from gen/moar/perl6-debug.nqp:449
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:eval)
>  from gen/moar/stage2/NQPHLL.nqp:1791
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:evalfiles)
>  from gen/moar/stage2/NQPHLL.nqp:1685
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:command_eval)
>  from src/Perl6/Compiler.nqp:42
> (/Applications/Rakudo/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
>  from gen/moar/stage2/NQPHLL.nqp:1659
> (/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:command_line)
>  from gen/moar/perl6-debug.nqp:511
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:MAIN)
>  from gen/moar/perl6-debug.nqp:442
> (/Applications/Rakudo/share/perl6/runtime/perl6-
> debug.moarvm:<mainline>)
>  from <unknown>:1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:<main>)
>  from <unknown>:1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:<entry>)
> 
> I'm using:
> 
> $ perl6 -v
> This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53-
> g66c6dda
> implementing Perl 6.c.

This was fixed[^1] shortly after 2017.05 release and will be included in the 
2017.07 Rakudo Star.

[1] 
https://github.com/rakudo/rakudo/commit/6d4691fbd91d7f54b8af55522845633e7adf4736

Reply via email to