On Mon Mar 29 08:41:18 2010, masak wrote: > $ cat A.pm > grammar A { > } > > $ cat B.pm > class B; > > method foo() { > use A; > } > > $ perl6 B.pm > You can not add a Method to a module; use a class, role or grammar > [...] > > I'm assuming that the above should work. (It does in alpha, and in > Perl 5.)
Fixed; given to moritz++ for spectests. Thanks, Jonathan