[perl #65138] [PATCH] Foo::_foo() parsefails

2009-04-27 Thread via RT
# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #65138] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=65138 Rakudo doesn't parse Foo::_foo() properly, while Foo::foo() works fine.

Re: [perl #65138] [PATCH] Foo::_foo() parsefails

2009-04-27 Thread Patrick R. Michaud
On Sat, Apr 25, 2009 at 04:33:44PM -0700, Geoffrey Broadwell wrote: Rakudo doesn't parse Foo::_foo() properly, while Foo::foo() works fine. [...] $ ./perl6 -e 'module Foo { sub _foo { say foo } }; Foo::_foo()' Statement not terminated properly at line 1, near _foo() While the patch appears

Re: [perl #65138] [PATCH] Foo::_foo() parsefails

2009-04-27 Thread Patrick R. Michaud
On Mon, Apr 27, 2009 at 08:31:38AM -0500, Patrick R. Michaud wrote: On Sat, Apr 25, 2009 at 04:33:44PM -0700, Geoffrey Broadwell wrote: Rakudo doesn't parse Foo::_foo() properly, while Foo::foo() works fine. [...] $ ./perl6 -e 'module Foo { sub _foo { say foo } }; Foo::_foo()' Statement

Re: [perl #65138] [PATCH] Foo::_foo() parsefails

2009-04-27 Thread Will Coleda
On Mon, Apr 27, 2009 at 12:26 PM, Patrick R. Michaud pmich...@pobox.com wrote: Answered on #perl6:    16:14 TimToady pmichaud: _ is considered an alpha So, we need to patch PGE so that alpha matches underscore, and we need some tests to match. Pm Created TT #585 for parrot to track this

[perl #65138] [PATCH] Foo::_foo() parsefails

2009-04-27 Thread Patrick R. Michaud via RT
Now fixed in f93154a. We need to verify there's a spectest for this particular problem. We should also add spectests to make sure that alpha matches underscores. Assigning to moritz++ for test updates. Thanks! Pm