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

Discourage @_ in signatured subroutine #19346

Closed
wants to merge 17 commits into from

Conversation

leonerd
Copy link
Contributor

@leonerd leonerd commented Jan 16, 2022

No actual runtime behavioural change, but if we're intending to cause some change at some future version it would be useful to get this warning in anyway to help flush out code that would otherwise be affected by such a future change.

@leonerd leonerd force-pushed the discourage-defav-in-sigsub branch 4 times, most recently from fd78cb8 to 8236755 Compare January 19, 2022 16:04
@leonerd leonerd marked this pull request as ready for review January 19, 2022 20:21
@leonerd leonerd requested a review from iabyn January 19, 2022 21:19
@atoomic
Copy link
Member

atoomic commented Jan 20, 2022

Maybe consider a squash & rebase, before merging this?

@leonerd
Copy link
Contributor Author

leonerd commented Jan 20, 2022

This is now rebased, but I don't think we should merge it yet until it's had some more review.

op.c Outdated Show resolved Hide resolved
op.c Outdated Show resolved Hide resolved
@leonerd leonerd force-pushed the discourage-defav-in-sigsub branch 2 times, most recently from 118e703 to 49d74bb Compare January 24, 2022 13:45
Copy link
Member

@atoomic atoomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM I cannot wait for starting using it and fix codebase :-)

@leonerd
Copy link
Contributor Author

leonerd commented Jan 28, 2022

Having discussed this with PSC, we've decided to make it an experimental:: warning instead. Since I can't seem to see a way to change what branch name a PR is pointed at, I'll close and recreate the PR

@leonerd leonerd closed this Jan 28, 2022
@leonerd leonerd deleted the discourage-defav-in-sigsub branch January 28, 2022 17:08
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.

None yet

2 participants