[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Zoffix Znet via RT
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:)
>  from :1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)
>  from :1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)
> 
> 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


[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Zoffix Znet via RT
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:)
>  from :1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)
>  from :1
> (/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)
> 
> 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


Re: [perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Timo Paulssen via RT
Already fixed in newer versions


Re: [perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Timo Paulssen
Already fixed in newer versions


[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread brian d foy
# New Ticket Created by  "brian d foy" 
# Please include the string:  [perl #131776]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=131776 >


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:)
 from :1
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)
 from :1
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:)

I'm using:

$ perl6 -v
This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53-g66c6dda
implementing Perl 6.c.