Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update use of PerlTerm for PPR ≥ v0.001000 #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zmughal
Copy link

@zmughal zmughal commented Aug 4, 2022

With the release of PPR v0.001000 there is a backwards incompatible
change in the definition of the PerlTerm rule to include postfix
arrows for dereferencing and methods.

This affects the plugin(s):

    $ git grep -lP '\b(Perl)?(Term|((ScalarAccess|ArrayAccess)(NoSpace)?))' lib/
    lib/Babble/Plugin/PostfixDeref.pm

@zmughal
Copy link
Author

zmughal commented Aug 4, 2022

No action needed on this yet. I'm consolidating the patches from all the PRs for a dev release.

zmughal and others added 2 commits August 8, 2022 20:03
With the release of PPR v0.001000 there is a backwards incompatible
change in the definition of the `PerlTerm` rule to include postfix
arrows for dereferencing and methods.

This affects the plugin(s):

    $ git grep -lP '\b(Perl)?(Term|((ScalarAccess|ArrayAccess)(NoSpace)?))' lib/
    lib/Babble/Plugin/PostfixDeref.pm
Newer PPR handles the postfix dereference in `PerlTerm` while
`PerlScalarAccess` handles indexing without any arrows.

This also addresses the issue of <shadow-dot-cat#3>.
This adds the tests from that PR (djerius++).

Co-authored-by: Diab Jerius <[email protected]>
@zmughal zmughal force-pushed the ppr-0.001000-perlterm branch from d0c68c1 to c1ee5bb Compare August 9, 2022 00:03
zmughal referenced this pull request in zmughal/Babble Sep 4, 2022
Update use of PerlTerm for PPR ≥ v0.001000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant