class X::Anon::Augment

Compilation error due to augmenting an anonymous package
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.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite β€” the markup and publishing tools behind this site.