Skip to content

Commit 3254d02

Browse files
authored
Document is required's value is a 6.d thing
Closes #2184 D#2184
1 parent 394215d commit 3254d02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Type/Attribute.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ error.
6262
CATCH{ default { say .^name, ': ', .Str } }
6363
# OUTPUT: «X::Attribute::Required: The attribute '$!a' is required, but you did not provide a value for it.␤»
6464
65-
You can also specify a reason why the attribute is required:
65+
B<Available as of 6.d language version> (early implementation exists in Rakudo compiler 2018.07+):
66+
67+
You can specify a reason why the attribute is required:
6668
6769
class D {
6870
has $.a is required("it is a good idea");

0 commit comments

Comments
 (0)