Debugging and Perl6::HookGrammar

2017-04-18 Thread Fernando Santagata
Hello, I had a problem with moar-2017.03 and still have it with moar.2017.04: when I try to run perl6-debug-m, I get this error: Cannot find method 'setlang' on object of type Perl6::HookGrammar at gen/moar/perl6-debug.nqp:407 I found this:

Re: dies-ok can return ok on everything dying

2017-04-18 Thread Timo Paulssen
You will be delighted to learn of the existence of the "throws-like" subroutine in rakudo's Test.pm There's also lots and lots of examples for its usage (and its power!) in perl6/roast. HTH - Timo

Re: Perl6 NCurses module under Arch: libncursesw.so.6

2017-04-18 Thread Mark Carter
On 18/04/17 15:56, Dominique Dumont wrote: You should be able to install ncurses 5 on arch: https://aur.archlinux.org/packages/ncurses5-compat-libs/ NCurses has changed recently to take into account ncurses 6 so that in future everything should work out of the box. Fingers crossed.

Re: Perl6 NCurses module under Arch: libncursesw.so.6

2017-04-18 Thread Dominique Dumont
On Wednesday, 12 April 2017 19:27:25 CEST mark carter wrote: > I'm running: > This is Rakudo version 2017.01 built on MoarVM version 2017.01 > implementing Perl 6.c. > under Arch. > > When I do > $perl6 starfield.pl6 > I get: > Cannot locate native library 'libncursesw.so.5': libncursesw.so.5: >

dies-ok can return ok on everything dying

2017-04-18 Thread mt1957
Hi, I've encountered a little problem using dies-ok() from the Test module; The case was that I made an error within the block used as the first argument to dies-ok. In that particular case the perl6 compiler hurled an exception and dies-ok accepted it as an ok action which was not ok