Re: Need some help to understand how modify an AST.

2016-12-05 Thread Moritz Lenz
Hi, On 06.12.2016 00:49, CARAYOL Jean-Pierre wrote: > Hi, > > > > I don't understand why the 2 following Perl6 programs give a different > result when running. > > If someone could give me an explanation, it will help me a lot. Many thanks. > > > > /(Note the 2 programs run on Linux and the

Need some help to understand how modify an AST.

2016-12-05 Thread CARAYOL Jean-Pierre
Hi, I don't understand why the 2 following Perl6 programs give a different result when running. If someone could give me an explanation, it will help me a lot. Many thanks. (Note the 2 programs run on Linux and the Linux environment variable $toto is set to "totoenv". ( export toto=totenv )

[perl #130271] [BUG] "Cannot unbox a type object (Any) to a str." with $^var and [⊎]

2016-12-05 Thread Zoffix Znet via RT
On Mon, 05 Dec 2016 12:14:05 -0800, c...@zoffix.com wrote: > This code crashes with "Cannot unbox a type object (Any) to a str". > > The problem goes away, if I change $^stuff to $_ or to $^stuff.List or > to |$^stuff > > > my $materials = bag flat 'wood' xx 300, 'glass' xx 100, 'brick' xx > 300

[perl #130257] [BUG] state variable not initialized in some multi subs

2016-12-05 Thread via RT
# New Ticket Created by Michael Schaap # Please include the string: [perl #130257] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130257 > In this example, the state variable appears not to be initialized: multi sub foo(

[perl #130267] [BUG] NativeCall: CArray[uint8] may contain negative numbers

2016-12-05 Thread via RT
# New Ticket Created by Michael Schaap # Please include the string: [perl #130267] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130267 > use NativeCall; my CArray[uint8] $a .= new(200 xx 16); say $a[0];#

[perl #130253] [NYI] Coercion type in variable declarations

2016-12-05 Thread via RT
# New Ticket Created by Michael Schaap # Please include the string: [perl #130253] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130253 > Coercion type works quite nicely in signatures, e.g. sub foo(Int(Cool) $f) {

[perl #130266] [BUG] t/spec/S32-io/IO-Socket-Async.t generates errors under ASAN/Valgrind

2016-12-05 Thread via RT
# New Ticket Created by Jan-Olof Hendig # Please include the string: [perl #130266] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130266 > While running the spectests through ASAN nwc10++ found an invalid read error in t/spec

[perl #130271] [BUG] "Cannot unbox a type object (Any) to a str." with $^var and [⊎]

2016-12-05 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130271] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130271 > This code crashes with "Cannot unbox a type object (Any) to a str". The problem goes away

Re: debugger dies on me

2016-12-05 Thread Fernando Santagata
Hi, Have you removed both ~/.rakudobrew and ~/.perl6? On Mon, Dec 5, 2016 at 3:20 PM, Theo van den Heuvel wrote: > Sadly, removing rakudobrew entirely (as the site suggests), rebuilding it > and rebuilding rakudo and panda does not lead to other output. > You were right of course in that I was

Re: debugger dies on me

2016-12-05 Thread Theo van den Heuvel
Sadly, removing rakudobrew entirely (as the site suggests), rebuilding it and rebuilding rakudo and panda does not lead to other output. You were right of course in that I was not using rakudo star. Sorry for the confusion. DO you have a suggestion for something I may have forgotten to remove?

Re: debugger dies on me

2016-12-05 Thread Steve Mynott
If you are using rakudobrew it's not rakudo star (which is built from a source tar ball or supplied as binaries on some platforms). S On 5 December 2016 at 11:34, Theo van den Heuvel wrote: > Hi Steve, > > I have Ubuntu and therefore use rakudobrew. Possibly some windows remnants > persist in t

Re: debugger dies on me

2016-12-05 Thread Theo van den Heuvel
Hi Steve, I have Ubuntu and therefore use rakudobrew. Possibly some windows remnants persist in the deep. I will try to clean up and reinstall. (I thought I did that but evidently not thoroughly enough). thanks, Steve Mynott schreef op 2016-12-05 12:28: I can see references to /home/theo/.

Re: debugger dies on me

2016-12-05 Thread Steve Mynott
I can see references to /home/theo/.rakudobrew which shouldn't exist if you were using Rakudo Star on its own. Looks like you have mixed up two versions. S On 5 December 2016 at 11:22, Theo van den Heuvel wrote: > > Hi perl6people, > > I am trying to debug with rakudo star 2016.11 and get the

debugger dies on me

2016-12-05 Thread Theo van den Heuvel
Hi perl6people, I am trying to debug with rakudo star 2016.11 and get the message below. I got the same message with 2016.9. Any suggestions? Unhandled exception: ctxlexpad needs an MVMContext at SETTING::src/core/PseudoStash.pm:45 (/home/theo/.rakudobrew/moar-nom/install/share/perl6/ru