(title) class X::Attribute::NoPackage
class X::Attribute::NoPackage does X::Comp { }
has $.x;
===SORRY!=== You cannot declare attribute '$.x' here; maybe you'd like a class or a role?
(head2) name
method name() returns Str:D