Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: edcf480ecf5d1e197b42f41432d14000ddbdb2cc
      
https://github.com/Perl/perl5/commit/edcf480ecf5d1e197b42f41432d14000ddbdb2cc
  Author: Arne Johannessen <[email protected]>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M AUTHORS
    M perly.act
    M perly.h
    M perly.tab
    M perly.y
    M pod/perldelta.pod
    M t/class/inherit.t

  Log Message:
  -----------
  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.


Reply via email to