Skip to content

Commit cf60fc2

Browse files
authored
fixed: Attributes actually cannot be augment-ed.
jnthn | Doc_Holliwood: Then that'd be a doc bug; we've never supported adding attributes with augment
1 parent fba598b commit cf60fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/variables.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ given scope will effectively introduce a separate variable.
856856
857857
=head2 The C<augment> declarator
858858
859-
With C<augment>, you can add attributes and methods to existing classes and
859+
With C<augment>, you can add methods, but not attributes, to existing classes and
860860
grammars, provided you activated the C<MONKEY-TYPING> pragma first.
861861
862862
Since classes are usually C<our> scoped, and thus global, this means modifying

0 commit comments

Comments
 (0)