[perl #116897] while (...splice...) runs forever

2015-03-03 Thread Alexander Moquin via RT
Test added in Roast commit: commit e75f03bf2d9b9b7074fd0077fb5cf4beaeef3e89 Author: Mouq Date: Wed Mar 4 02:03:39 2015 -0500 Add test for RT #116897 Closing as resolved :) On Tue Jan 27 14:17:08 2015, Mouq wrote: > Behavior change: > > $ perl6 -e'my @a = << >>; while (my @c = splice @a,

[perl #116897] while (...splice...) runs forever

2015-01-27 Thread Alexander Moquin via RT
Behavior change: $ perl6 -e'my @a = << >>; while (my @c = splice @a, 0, 3) { say "one more"; }' $ perl6 -v This is perl6 version 2015.01-32-geea99e3 built on MoarVM version 2015.01-5-ga29eaa9 Looks good to me; marking as testneeded On Mon Feb 25 17:12:10 2013, rjbs wrote: > Thanks, Patrick. I

[perl #123176] [BUG] `-> $a = 0 { $a }` chokes on the '{' of the block in Rakudo

2014-11-11 Thread Alexander Moquin via RT
Fixed in Rakudo and STD.pm6 and a test was added to S06-signature/defaults.t. Closing.

[perl #119401] [BUG] < $< $> > yields a one-element list, not a two-element list in Rakudo

2014-04-19 Thread Alexander Moquin via RT
On Sat Apr 19 20:42:11 2014, Mouq wrote: > On Wed Aug 21 05:40:22 2013, masak wrote: > > r: .say for < $< $> > # rakudobug ? > > rakudo e84dda: OUTPUT«$<$>␤» > > Yeah. I would have expected "$<\n$>\n" > > r: < $< $> >.perl.say > > rakudo e84dda: OUTPUT«("\$<\$>",).list␤» > > Yeah. Odd > > *

[perl #119401] [BUG] < $< $> > yields a one-element list, not a two-element list in Rakudo

2014-04-19 Thread Alexander Moquin via RT
On Wed Aug 21 05:40:22 2013, masak wrote: > r: .say for < $< $> > # rakudobug ? > rakudo e84dda: OUTPUT«$<$>␤» > Yeah. I would have expected "$<\n$>\n" > r: < $< $> >.perl.say > rakudo e84dda: OUTPUT«("\$<\$>",).list␤» > Yeah. Odd > * masak submits rakudobug There's other fallout from the

[perl #117373] [TODO] &tc and .tc in Rakudo

2014-04-16 Thread Alexander Moquin via RT
On Wed Mar 27 05:46:13 2013, masak wrote: > how to lowercase string? > it's a code smell, because it hinders composability and thus > scalability. > lc > r: say lc "OMG KITTENS" > rakudo b972ca: OUTPUT«omg kittens␤» > oh... that easy > r: say "OMG KITTENS".lc > rakudo b972ca: OUTPUT«omg kit

[perl #73640] [BUG] Strange failure in perl6-actions.pir when parsing '.++()' in Rakudo

2014-04-16 Thread Alexander Moquin via RT
On Sun Sep 01 08:37:30 2013, Mouq wrote: > Fixed in rakudo: > 09:11 < Mouq> r: .++; .say > 09:11 <+camelia> rakudo a0d7ce: OUTPUT«1␤» > > Tests for $var.++ exist in S02-lexical-conventions/unspace.t, but a > separate test file for dotty postfixes, postcircumfixes, and prefixes is > not out of the

[perl #77350] Calling a token 'any' calls for trouble

2014-04-16 Thread Alexander Moquin via RT
On Thu Oct 18 02:13:15 2012, moritz wrote: > The problem is that the $*ACTIONS contextual is set to a type object > (used to be Any, now Mu), so $*ACTIONS.any existed, but caused an error. > > commit 0973612366de17d6eab26e975663e63170e5d1d5 eased some of the pain > by switching it from Any to Mu,

[perl #79340] [Bug] Unspace failed

2014-04-16 Thread Alexander Moquin via RT
On Sat Feb 01 12:46:22 2014, pesc...@gmail.com wrote: > Am Mi 17. Nov 2010, 07:56:55, min...@gmail.com schrieb: > > Hi there, > > > > It seems some bug with unspace. > > > > > > Sincerely, > > Mindos > > > > say "Hello"#`[Fnord],"World!" > > rakudo 015d77: OUTPUT«HelloWorld!␤» > > > > say "He

[perl #73172] Rakudo doesn't recognize closure form of repetition quantifier

2014-04-16 Thread Alexander Moquin via RT
In general, the output is now: 01:55 r: my $l = 3; say "x" x 10 ~~ / x ** {$l} / 01:55 rakudo-parrot 79167a, rakudo-jvm 79167a, rakudo-moar 79167a: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Block case of ** quantifier not yet implemented␤at /tmp/tmpfile:1␤--> m

[perl #76096] [BUG] Can't have a '-->' after a parameter with a 'where' clause in Rakudo

2014-04-16 Thread Alexander Moquin via RT
On Tue May 29 12:45:31 2012, diakopter wrote: > On Mon Oct 10 18:09:05 2011, coke wrote: > > No substantial change: > > > > 21:08 < [Coke]> rakudo: sub foo($x where 1 --> Int) {} > > 21:08 <+p6eval> rakudo 38907e: OUTPUT«===SORRY!===␤Missing block at > line 1, > > near ") {}"␤» >

[perl #77784] [BUG] Rakudo fails to give "Null regex not allowed" for a number of operators

2014-04-13 Thread Alexander Moquin via RT
This has been fixed and the tests pass. Marking as resolved.

[perl #109874] BUG: should match: grammar A { rule TOP { ^ } }; say A.parse(' ')

2014-04-13 Thread Alexander Moquin via RT
On Sun Jul 28 10:05:00 2013, masak wrote: > r: grammar G { token TOP { ^$ }; rule foo { foo } }; say ? > G.parse(" foo") > rakudo 96776b: OUTPUT«True␤» > r: grammar G { token TOP { ^$ }; rule foo {foo } }; say ? > G.parse(" foo") > rakudo 96776b: OUTPUT«False␤» > I thought rules ignored initia