Re: &MAIN signature to preserve @*ARGFILES ?

2015-12-01 Thread yary
So that's no longer an issue, good news! Thanks for running that test on the latest Rakudo Star and sharing the result. -y On Tue, Dec 1, 2015 at 5:16 PM, Andrew Kirkpatrick wrote: > @yary, I'm using linux and for your program with the sole option -t > Rakudo 2015.11: > Usage: > /tmp/test

Re: &MAIN signature to preserve @*ARGFILES ?

2015-12-01 Thread Andrew Kirkpatrick
@yary, I'm using linux and for your program with the sole option -t Rakudo 2015.07.2: (Bool) :True: Rakudo 2015.11: Usage: /tmp/test.pl6 [-t=] [<*ARGS> ...] On 2 December 2015 at 02:36, yary wrote: > This variation confuses me. I expect $t to be constrained to "Str", > but MAIN is letting it b

[perl #123732] [BUG] `return` in a NEXT phaser in a loop outside of any routine aborts the iteration in Rakudo

2015-12-01 Thread jn...@jnthn.net via RT
On Wed Feb 04 18:18:09 2015, masak wrote: > m: for ^5 { .say; NEXT { return } } > rakudo-moar 613c0b: OUTPUT«0␤1␤2␤3␤4␤» > that last one, besides wrongly compiling (IMO), did not have > the wrong runtime semantics I expected it to. > m: say "A"; return; say "B" > rakudo-moar 613c0b: OUTPUT«A␤»

[perl #124316] @a[0,1] is not the same as @a[^2]

2015-12-01 Thread jn...@jnthn.net via RT
On Thu Apr 16 09:50:05 2015, elizabeth wrote: > Slicing handles ranges differently from lists, even if the range is > not infinite. > > > my @a; > say @a[0,1].perl;# (Any,Any) > say @a[^2].perl; # () > > > This becomes even more troublesome when used as a left value: > > @a[0,1] = 42,4

Re: &MAIN signature to preserve @*ARGFILES ?

2015-12-01 Thread yary
This variation confuses me. I expect $t to be constrained to "Str", but MAIN is letting it be a "Bool." I'm using Rakudo* from 201509, the 11 release isn't out for Windows- sub MAIN (*@*ARGS,Str :$t) { say $t.WHAT; say ":$t:" # .say for padded-cols $t, $*ARGFILES.lines.map: (*.split($t

Re: &MAIN signature to preserve @*ARGFILES ?

2015-12-01 Thread yary
On Mon, Nov 30, 2015 at 2:56 AM, Marc Chantreux wrote: > sub MAIN (*@*ARGS,:$t) { > say "$t" > # .say for padded-cols $t, $*ARGFILES.lines.map: (*.split($t)) > } I changed your test code to better show the space, and it displays it OK. sub MAIN (*@*ARGS,:$t) { say ":$t:" } > perl6.

[perl #126774] Code aborts while working with supplies

2015-12-01 Thread via RT
# New Ticket Created by hanenkamp # Please include the string: [perl #126774] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126774 > This report is going to be a bit ugly since this code isn't published anywhere to point to a

Re: [perl #126762] small typo in t/04-nativecall/11-cpp.t

2015-12-01 Thread Rares Aioanei
On Mon, 30 Nov 2015 07:55:28 -0800 "Elizabeth Mattijsen via RT" wrote: > Thank you for the report! Fixed with 437ef184ee86fc04d4ecdd , can be > closed Fix confirmed, thank you. -- Rares Aioanei