diff --git a/doc/Type/Attribute.pod6 b/doc/Type/Attribute.pod6 index 32ee5dc3c..fd1d843da 100644 --- a/doc/Type/Attribute.pod6 +++ b/doc/Type/Attribute.pod6 @@ -62,7 +62,9 @@ error. CATCH{ default { say .^name, ': ', .Str } } # OUTPUT: «X::Attribute::Required: The attribute '$!a' is required, but you did not provide a value for it.␤» -You can also specify a reason why the attribute is required: +B (early implementation exists in Rakudo compiler 2018.07+): + +You can specify a reason why the attribute is required: class D { has $.a is required("it is a good idea");