-
Notifications
You must be signed in to change notification settings - Fork 29
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
Deprecate smartmatch handling #117
Conversation
db60e31
to
f15e085
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passes test for me, but i would change the reference to Perl 5.42.0 to be say "by" and not "in", we won't remove support for smartmatch exactly in 5.42.0 it will be sometime in 5.41.x in practice.
Also will prepare for smartmatch being deprecated.
36945fa
to
5d2a002
Compare
New versions of perl are deprecating smart match, and they should eventually be removed. Update the code to silence the warnings related to smart match to properly disable "deprecated" warnings internally. Add our own deprecation warnings on all versions of perl that support smartmatch. Stop supporting smart match in perl 5.41.
5d2a002
to
f56e3fb
Compare
Looks like we've closed one perl PR and opened Perl/perl5#20916. I'm not clear how this changes this PR. @demerphq |
If that PR was merged, this could be changed to use a different warning category, but the current code in this PR would continue to work without changes. I don't think it needs to be considered when evaluating this PR. |
ok waiting on someone's OK to merge this. |
@toddr i am not sure who you are waiting for, but if it helps "LGTM". I closed my original ticket about the deprecation categories because I agree with @haarg that this PR stands alone just fine. I think we should have deprecation categories, but for other reasons than to use as switches for behavior. More because it provides a better user experience and allows the user to micro-manage their exposure to features that are deprecated. |
No description provided.