[perl #61352] Anonymous classes cannot inherit from named classes

2009-02-18 Thread jn...@jnthn.net via RT
On Mon Feb 16 11:20:06 2009, bacek wrote: > On Sun Dec 14 02:15:27 2008, masak wrote: > > The following doesn't parse in Rakudo r33860: > > > > $ perl6 -e 'class A { method x { say "OH HAI" } }; my $c = class is A > > {}; $c.x' > > Statement not terminated properly at line 1, near "{}; $c.x" > > [

[perl #61352] Anonymous classes cannot inherit from named classes

2009-02-17 Thread Vasily Chekalkin via RT
On Sun Dec 14 02:15:27 2008, masak wrote: > The following doesn't parse in Rakudo r33860: > > $ perl6 -e 'class A { method x { say "OH HAI" } }; my $c = class is A > {}; $c.x' > Statement not terminated properly at line 1, near "{}; $c.x" > [...] > > I don't know if this is specced, but it seems