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
Returns the kind of package (module, class, grammar, ...) that the code tried to augment.