Skip to content

Commit

Permalink
Add KNOWN BUGS section to perlclass.pod
Browse files Browse the repository at this point in the history
  • Loading branch information
johannessen committed May 30, 2024
1 parent c729e47 commit f84fbc4
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pod/perlclass.pod
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,38 @@ including an ability for them to provide new class or field attributes.

=back

=head1 KNOWN BUGS

The following bugs have been found in the experimental C<class> feature:

=over 4

=item *

Since Perl v5.38, inheriting from a parent class which is declared in the same
file and which hadn't already been sealed can cause a segmentation fault.
[L<GH #20890|https://github.com/Perl/perl5/issues/20890>]

=item *

Since Perl v5.38 and with the experimental C<refaliasing> feature, trying to
replace a field variable causes a segmentation fault.
[L<GH #20947|https://github.com/Perl/perl5/issues/20947>]

=item *

Since Perl v5.38, it's possible to craft a class with leaky encapsulation,
which can cause a segmentation fault.
[L<GH #20956|https://github.com/Perl/perl5/issues/20956>]

=item *

In Perl v5.38, inheriting from a class would not always attempt to load the
parent class.
[L<GH #21332|https://github.com/Perl/perl5/issues/21332>]

=back

=head1 AUTHORS

Paul Evans
Expand Down
10 changes: 10 additions & 0 deletions pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,16 @@ functions, C<newANONLIST()>, C<newANONHASH()>, C<newSVREF()> and similar.

=back

=head3 L<perlclass>

=over 4

=item *

Added a list of known bugs in the experimental C<class> feature.

=back

=head3 L<perlfunc>

=over 4
Expand Down

0 comments on commit f84fbc4

Please sign in to comment.