[perl #77334] [BUG] For loops fail to decontainerize in Rakudo

2015-10-06 Thread jn...@jnthn.net via RT
On Sat Aug 30 08:31:30 2014, masak wrote: > n: sub foo { my $s = 0; ($s += $_ for 1..3) }; say foo() > niecza v24-109-g48a8de3: OUTPUT«1 3 6␤» > this is a data point, too. Niecza decontainerizes. It's a tad more sutble: 15:07 < jnthn> masak: Only tricky thing is that it may not be as simple

[perl #125762] [BUG] parameterisation has higher priority than postcircumfix:<[ ]> even on non-parameterizable types

2015-10-06 Thread jn...@jnthn.net via RT
On Thu Aug 06 06:18:57 2015, lloyd.fo...@gmail.com wrote: > Context: I am trying to make a fun syntax where Class[@args] is an alias > for Class.new(@args) > > - > class C {}; > sub postcircumfix:<[ ]>(C:U $c, Str $arg){ say 'win' }; > my $c = C; > $c['test']; #-> win > C['test']; #!> C

[perl #123769] [BUG] Binding to access of typed array doesn't type check

2015-10-06 Thread jn...@jnthn.net via RT
On Tue Jun 30 04:13:41 2015, barto...@gmx.de wrote: > I just linked this ticket from > https://rt.perl.org/Ticket/Display.html?id=81682, which is now closed > but pointed to a similiar problem: > > $ perl6-m -e 'my Int @a = 1, 2, 3; my Str $x = "foo"; @a[0] := $x; say > @a[0];' > foo > > It

[perl #101448] [BUG] No error on assigning a type object to a :D-constrained container in Rakudo

2015-10-06 Thread Tobias Leich via RT
This fixes reporting the file and line number: https://github.com/rakudo/rakudo/commit/164953b3de

[perl #125846] Missing file/line information when importing module

2015-10-06 Thread Tobias Leich via RT
This fixes it: https://github.com/rakudo/rakudo/commit/164953b3de Tagging testneeded.

[perl #125846] Missing file/line information when importing module

2015-10-06 Thread Tobias Leich via RT
Test: https://github.com/perl6/roast/commit/73fc8c3d37 Closing ticket.

[perl #121531] [MoarVM] failing PRE block should abort execution of all other phasers, doesn't in rakudo-m

2015-10-06 Thread jn...@jnthn.net via RT
On Fri Mar 28 13:06:48 2014, moritz wrote: > This test from S04-phasers/pre-post.t fails on rakudo-moar, but passes > on the two other backends: > > my $str; > try { > { > PRE { $str ~= '('; 0 } > PRE { $str ~= '*'; 1 } > ENTER { $str

[perl #124024] [SUGGESTION] BOM flag should be removed if open file with UTF-8

2015-10-06 Thread jn...@jnthn.net via RT
On Mon Mar 09 06:03:21 2015, sml...@gmail.com wrote: > For the record this was recently discussed on IRC starting at > . Excerpt of > constructive comments: > > moritz:open() could have a :strip-bom option or so >you

[perl #113544] Flattening into named arguments does not happen from within rules

2015-10-06 Thread jn...@jnthn.net via RT
On Thu Jun 07 11:23:08 2012, kristofbogae...@gmail.com wrote: > When feeding this code to rakudo, niecza, nqp: > > my grammar G { > method s_m(*%n) { say(%n, %n, %n) } > token TOP { , :c<3>), :b<2>)> } > } > G.s_m(|hash(:a<1>, :c<3>), :b<2>); > G.parse(''); > > > The following

[perl #126278] Dynamic variable binding doesn't check for proper container

2015-10-06 Thread via RT
# New Ticket Created by Faye # Please include the string: [perl #126278] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126278 > The broken behavior: m: my @*A := 42 rakudo-moar bad9be: ( no output ) m: my %*A := 42

[perl #126277] IO::Socket::Async + `run` exits unexpectedly on mac

2015-10-06 Thread Tokuhiro Matsuno
# New Ticket Created by "Tokuhiro Matsuno" # Please include the string: [perl #126277] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126277 > When call `run` method in IO:Socket::Async.listen routine, perl6-m exits

[perl #125753] :ignorecase doesn't apply to character ranges

2015-10-06 Thread jn...@jnthn.net via RT
On Wed Aug 05 07:37:00 2015, duff wrote: > m: '%E3%81%82' ~~ m:ignorecase/['%' (<[abcdef0123456789]> ** > 2)]+/ && say $/[0]; > <+camelia> rakudo-moar 0dcbba: OUTPUT«「E3」 「81」 「82」␤» > hoelzro: I guess something is broken with character class > ranges? > PerlJam: Other fun question is if you