On Wed Jul 23 00:50:02 2008, masak wrote:
> It turns out that 'class A is B {}; class B {}' is not a valid Perl 6
> program.
> 
> <TimToady> @messages
> <lambdabot> masak asked 7h 17m 55s ago: is `class A is B {}; class B
> {}` allowed in Perl 6?
> <TimToady> @tell masak "is B" is not allowed unless B is already known
> to be a trait or type; only subroutines can be post-declared
> 
> Still, it should preferably generate some other error than a 'Null PMC
> access' parsefail... so the bug still stands.
> 
This now gives the message:

Attempt to inherit from non-existent parent class

Thanks,

Jonathan

Reply via email to