class X::Anon::Augment does X::Comp { }
Compile time error thrown when trying to augment an anonymous package.
For example
use MONKEY-TYPING;
augment class { }
Dies with
Cannot augment anonymous class
Methods
method package-kind
method package-kind returns Str:D
Returns the kind of package (module, class, grammar, ...) that the code
tried to augment.
See Also
class Exception
Anomalous event capable of interrupting normal control-flow
class X::Bind
Error due to binding to something that is not a variable or container
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.
Built with Podlite ā the markup and publishing tools behind this site.