Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 2b89da05e5bd583a4136daff4c75c5b4a88e6ac8
https://github.com/Perl/perl5/commit/2b89da05e5bd583a4136daff4c75c5b4a88e6ac8
Author: Paul "LeoNerd" Evans <[email protected]>
Date: 2025-11-16 (Sun, 16 Nov 2025)
Changed paths:
M perly.act
M perly.h
M perly.tab
M perly.y
Log Message:
-----------
Don't treat class attributes as sub attributes in perly.y
We need to use a dedicated grammar type; or at the very least, not use
`subattrlist` for doing this. The previous use of `subattrlist` had the
side-effect of passing every attribute list for a class via the
`apply_builtin_cv_attributes()` function. That was pointlessly
redundant, though currently harmless. It may stop being harmless in a
future improvement to the way attributes are handled, so best not to do
that any more.
The new structure repurposes the previous `myattrlist` to be a
non-optional attribute list, and defines `optattrlist` to use for both
class and field attributes.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications