r30510 - docs/Perl6/Spec

2010-04-29 Thread pugs-commits
Author: lwall Date: 2010-04-30 01:53:50 +0200 (Fri, 30 Apr 2010) New Revision: 30510 Modified: docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S06-routines.pod Log: [S03] remove p5=> description since it's not supported in core Modified: docs/Perl6/Spec/S03-operators.pod

[perl #74758] [BUG] No type checking on optional defaults and provided defaults in Rakudo

2010-04-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74758] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74758 > rakudo: class A { method foo(A :$a) { say $a.WHAT } }; A.new.foo rakudo 72f914: OUTPUT

Re: optional rules cluttering parse trees

2010-04-29 Thread Moritz Lenz
Am 28.04.2010 18:08, schrieb cognominal: On Apr 28, 2:05 pm, mor...@faui2k3.org (Moritz Lenz) wrote: Am 27.04.2010 06:31, schrieb Stéphane Payrard: There's also another problem with your approach: If you have ? in your regex, and it matches the empty string, it is still a successful match -

[perl #74756] [BUG] No error on erroneous use of contextual lexical before its declaration in a scope in Rakudo

2010-04-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74756] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74756 > rakudo: my $*a = 42; foo; sub foo { say $*a; my $*a } rakudo 72f914: OUTPUT«Any()␤» w

Re: optional rules cluttering parse trees

2010-04-29 Thread cognominal
On Apr 28, 2:05 pm, mor...@faui2k3.org (Moritz Lenz) wrote: > Am 27.04.2010 06:31, schrieb Stéphane Payrard: > > > When doing an analyse of a sample parse tree, I note that it is > > cluttered by the reduction of optional subrules > > to  generate a zero length parse subtree. That is, rules with a

[perl #74732] [BUG] There's no Pair.elems anymore in Rakudo

2010-04-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74732] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74732 > rakudo: say (a => 1).elems rakudo 082cae: OUTPUT«Method 'elems' not found for invocant

[perl #73326] [BUG] Infinite recursion in stringification of a capture in Rakudo

2010-04-29 Thread Carl Mäsak via RT
On Tue Apr 27 22:04:18 2010, quester wrote: > It seems to me that this issue was resolved at some point in the past, > "say ~\()" now says "Capture()<0x4ed3138>". So it does. Resolving.