[perl #77152] Rakudo can't parse lexical subrule calls with arguments in regexes.

2010-08-11 Thread via RT
# New Ticket Created by Tyler Curtis # Please include the string: [perl #77152] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77152 > Here's a relevant irclog: [8:58pm] pmichaud: rakudo: my regex foo($s) { $s }; say 'a'

[perl #77158] [BUG] Doing .perl on an :(Array of Int) signature produces an internal error in Rakudo

2010-08-11 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77158] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77158 > rakudo: say :(Int).perl rakudo fcf4f3: OUTPUT«:(Int )␤» rakudo: say :(Array of Int).p

[perl #77160] Match.list flattens quantified sub-captures

2010-08-11 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #77160] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77160 > 16:34 < moritz_> rakudo: 'abc' ~~ /(.)+/; .say for $/.list 16:35 <+p6eval> rakudo fcf4f3:

[perl #77162] Series with Code on the LHS

2010-08-11 Thread via RT
# New Ticket Created by Patrick Abi Salloum # Please include the string: [perl #77162] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77162 > I know the series operator code is about to get a refactor but I could not resist

[perl #74609] tests available

2010-08-11 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/series.t commit 9bdf1b5bcc5055f558822a4b1ba6956ca0583f6c Author: moritz Date: Wed Aug 11 16:24:07 2010 + [t/spec] test for RT #74609, 1, +* ... * series just repeats 1s

[perl #74916] [BUG] Nil isn't defined in Rakudo (but is in the spec)

2010-08-11 Thread Will Coleda via RT
On Wed May 05 04:51:13 2010, masak wrote: > rakudo: say Nil.defined > rakudo 1eef08: OUTPUT«0␤» > * masak submits rakudobug > rakudo: say ().defined > rakudo 1eef08: OUTPUT«0␤» > > From S02: 'Since method calls are performed directly on any object, > C returns C just as C<().defined> does.' T

[perl #75348] [BUG] Can't call local sub from RHS of assignment to attribute declaration in Rakudo

2010-08-11 Thread Will Coleda via RT
On Tue May 25 06:41:53 2010, masak wrote: > rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new > rakudo 4c94d7: OUTPUT«Could not find sub &b [...] > this is biting me currently. I use subs because constants > didn't work in classes in alpha, and don't work at all in master. > jnthn: any ide

[perl #75440] [BUG] ranges from multiple application of X not working

2010-08-11 Thread Will Coleda via RT
On Sun May 30 01:07:08 2010, richardh wrote: > from IRC #perl6 May 30 > > plain application of X works: > > finanalyst: rakudo: for 1,2 X { say "$^x $^y" } > p6eval: rakudo 34542f: OUTPUT«1 a 1 b␤2 a 2 b␤» > > multiple application does not: > > finanalyst: rakudo: for 1,2 X ( X 'x') { say "$^x

Re: Large integers, ** and Int

2010-08-11 Thread Patrick R. Michaud
On Tue, Aug 10, 2010 at 08:44:06PM -0400, Aaron Sherman wrote: > On Tue, Aug 10, 2010 at 10:39 AM, Moritz Lenz wrote: > > Am 10.08.2010 01:11, schrieb Aaron Sherman: > > I've been running into all sorts of problems trying to take S02 at its > >> word that Int supports arbitrary precision. It *sor

[perl #75644] [BUG] Error when reporting an error during parsing caused by doing a role with Lions containing each other in Rakudo

2010-08-11 Thread Will Coleda via RT
On Wed Jun 09 14:22:08 2010, masak wrote: > rakudo: role Lion[::T] {}; class LionMadeOfLions does Lion[Lion] {} > rakudo a54677: OUTPUT«===SORRY!===␤Could not find sub &chars␤» > whoa! :) > * masak submits rakudobug Behavior has changed: <[Coke]> rakudo: role Lion[::T] {}; class LionMadeOfLion

[perl #75768] [BUG] Null PMC access when infix:<...>-array-slicing an infix:<...>-list in Rakudo

2010-08-11 Thread Will Coleda via RT
On Tue Jun 15 04:49:35 2010, masak wrote: > rakudo: say (1...10)[2...4] > rakudo cfbeb5: OUTPUT«Null PMC access in getprop() [...] > * masak submits rakudobug > o, it's a closure bug, I'll bet. > rakudo: my @a = 1...10; say @a[0...4] > rakudo cfbeb5: OUTPUT«12345␤» > closure bug, nothing

[perl #77168] typed list causes recursion limit hit

2010-08-11 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #77168] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77168 > use v6; class A {}; class B is A {}; class C is A {}; my $b = B.new(); my $c = C.n

[perl #77170] 'maximum recursion depth exceeded' comes with complete stack trace

2010-08-11 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #77170] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77170 > If somebody comes up with the brilliant idea (or has to) increase the recursion lim

[perl #77164] [BUG] Cannot always match signature when default value is a sub

2010-08-11 Thread via RT
# New Ticket Created by Patrick Abi Salloum # Please include the string: [perl #77164] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77164 > rakudo: sub foo ( $f = rand ) { say $f; }; say Capture.new() ~~ &foo.signature;

[perl #77174] [BUG] "maximum recursion depth exceeded" from: my @a //= (3); @a.perl.say;

2010-08-11 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #77174] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77174 > The variant my @a ||= (3); @a.perl.say; outputs something reasonable. Ron

[perl #66714] [BUG] No line number in error message to undef[1] in Rakudo

2010-08-11 Thread Will Coleda via RT
On Thu Jun 18 08:38:58 2009, masak wrote: > uhm, why doesn't this error message contain a line number? > rakudo: .[1] > rakudo 9dc941: OUTPUT«Method 'postcircumfix:[ ]' not found > for invocant of class 'Failure'␤» > masak: care to bugreport it? > * masak bug-reports This no longer errors at a

[perl #68988] Empty return value causes Null PMC access in find_method() when passed to another routine

2010-08-11 Thread Will Coleda via RT
On Fri Sep 04 05:20:26 2009, moritz wrote: > Nicely reduced by masak++: > > 14:16 < masak> rakudo: sub foo { for 1 {} }; sub bar($x) {}; bar(foo) > 14:16 <+p6eval> rakudo b51d94: OUTPUT«Null PMC access in > find_method()␤in sub > bar (/tmp/Wf45L47gN6:2)␤called from Main > (/tmp/Wf4

[perl #74076] [BUG] Null PMC access when accessing $OUTER::_ in a block in Rakudo

2010-08-11 Thread Will Coleda via RT
On Mon Apr 05 14:52:35 2010, masak wrote: > rakudo: my @t; for < a b > { @t.push( sub { > $OUTER::_ } ) }; say $_() for @t > rakudo c41cf3: OUTPUT«Null PMC access in type() [...] This no longer has an NPE... > * masak submits rakudobug > rakudo: { say $OUTER::_ } > rakudo c41cf3: OUTPUT

[perl #72442] {redo} prints a newline to STDERR

2010-08-11 Thread Will Coleda via RT
On Tue Feb 02 00:32:30 2010, moritz wrote: > $ perl6 -e '{redo}'|wc -l > > 0 > $ > > Rakudo prints a newline to STDERR, nothing else. That's a bit > less-than-awesome, I'd expect a warning like "redo without a block at > ..." or so. > > Cheers, > Moritz Now with even less awesome: $ ./perl6 -

[perl #71820] Subset name omitted from error when typecheck fails

2010-08-11 Thread Will Coleda via RT
On Sun Jan 03 06:02:05 2010, publiustemp-perl6interna...@yahoo.com wrote: > For this code: > > use v6; > > class Foo { > subset Filename of Str where { $_ ~~ :f } > has Filename $.filename is rw; > } > my $foo = Foo.new(filename => 'no_such_file'); > > We get this error: > >

[perl #74530] [BUG] Ranges and hyper-ops don't mix

2010-08-11 Thread Will Coleda via RT
On Tue Apr 20 07:47:45 2010, Solomon wrote: > colomon: rakudo: (-<<(1..10)).perl.say > p6eval: rakudo 5a0581: OUTPUT«maximum recursion depth exceeded␤current > instr.: 'perl6;Iterable;list' pc 10791 (src/builtins/Role.pir:111)␤» > colomon: rakudo: (-<<(1...10)).perl.say > p6eval: rakudo 5a0581: OUT

[perl #75174] [BUG] return() and gather/take interact badly

2010-08-11 Thread Will Coleda via RT
On Tue May 18 11:52:31 2010, moritz wrote: > sub f { > gather for 1..10 { > return if $_ == 3; > take +$_; > } > } > my @x = f(); This now generates no output. Even if you add a 'say "alive" at the end. -- Will "Coke" Coleda

[perl #57936] [PATCH] Implementation of StrPos

2010-08-11 Thread Will Coleda via RT
On Thu Aug 14 16:39:34 2008, bacek wrote: > Hello. > > Trivial and initial implementation of StrPos attached. > bacek - this patch predates the migration of rakudo out of the parrot repository and no longer applies cleanly so I'm going to belatedly reject it. Sorry for the delay in replying.

[perl #59400] [PATCH] Implementation of lvalue semantic of Str.substr

2010-08-11 Thread Will Coleda via RT
On Sat Sep 27 05:47:14 2008, bacek wrote: > Hello. > > Small proxy class to support lvalue semantic of Str.substr. Holds > original string, start, len. In get_string method returns substring. In > infix:= construct new string and assign it to original. > bacek - this patch predates the migrati

[perl #75246] [PATCH] make hyper operators work on nested arrays

2010-08-11 Thread Will Coleda via RT
On Fri May 21 10:41:39 2010, pkail...@gmail.com wrote: > Please review the patch attached which lets hyper operators be used on > nested arrays like (1, 2, [3, 4]). > >     >> perl6 -e 'my @r = (1, 2, [3, 4]) >>+<< (4, 5, [6, 7]); say @r.perl' > [5, 7, [9, 11]] > > >> perl6 -e 'my @r = (1

[perl #66050] Can't exit REPL with exit; or EOF

2010-08-11 Thread Will Coleda via RT
On Fri Jun 26 01:42:55 2009, moritz wrote: > On Thu Jun 25 08:54:51 2009, pmichaud wrote: > > This was caused by a bug in Parrot; the problem in Parrot seems to have > > been resolved and now EOF appears to work again. > > Right, but exit; still doesn't. > > > Closing ticket, thanks! > > ... an