diff options
author | Arne Johannessen <ajnn@cpan.org> | 2023-03-02 14:56:59 +0100 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2023-03-02 16:27:02 +0000 |
commit | edcf480ecf5d1e197b42f41432d14000ddbdb2cc (patch) | |
tree | 0d09f1efb78f0d94ece3b6b57808b118fa8d3a41 /pod | |
parent | 49830b9d6df254629bb26062f7477b3b371dd1d2 (diff) | |
download | perl-edcf480ecf5d1e197b42f41432d14000ddbdb2cc.tar.gz |
Allow :isa in class declaration without a block
Using class attributes in the unit class syntax was a syntax error. This change makes the following two lines equivalent:
class B :isa(A) ;
class B :isa(A) { }
Addresses GH issue #20888.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f8700577af..cad4e405ce 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -366,6 +366,12 @@ manager will later use a regex to expand these into links. =item * +In the new experimental C<class> feature, attributes are no longer a syntax +error when using the unit class syntax. +[GH #20888]. + +=item * + XXX =back |