From edcf480ecf5d1e197b42f41432d14000ddbdb2cc Mon Sep 17 00:00:00 2001 From: Arne Johannessen Date: Thu, 2 Mar 2023 14:56:59 +0100 Subject: 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. --- pod/perldelta.pod | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pod/perldelta.pod') 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 feature, attributes are no longer a syntax +error when using the unit class syntax. +[GH #20888]. + +=item * + XXX =back -- cgit v1.2.1