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

Study changes to t/op/*.t (2 of 12) #212

Closed
jkeenan opened this issue Aug 17, 2020 · 4 comments
Closed

Study changes to t/op/*.t (2 of 12) #212

jkeenan opened this issue Aug 17, 2020 · 4 comments
Assignees
Labels
study Study changes made by developers since 5.32.0

Comments

@jkeenan
Copy link
Collaborator

jkeenan commented Aug 17, 2020

In this ticket we will study our progress in pursuit of Objective 2, "strict-by-default", for the following files in the Perl core distribution:

t/op/blocks.t
t/op/bop.t
t/op/caller.t
t/op/chdir.t
t/op/chop.t
t/op/chr.t
t/op/closure.t
t/op/cmpchain.t
t/op/concat2.t
t/op/cond.t

These files should be evaluated in light of the guidelines presented on this wiki page. Please post the summary of your findings in a single comment in this issue.

First-time contributors: (1) Please post a comment to this ticket indicating you are working on it. That will enable us to assign the ticket to you. (GitHub won't let us do that until it already thinks you're part of the project.) (2) You should subscribe to this repository so that you get email updates.

Thank you for helping to improve the Perl programming language.

@jkeenan jkeenan added the study Study changes made by developers since 5.32.0 label Aug 17, 2020
@brainbuz
Copy link
Collaborator

I'll look at this.

@atoomic
Copy link
Owner

atoomic commented Sep 16, 2020

Thanks @brainbuz

@brainbuz
Copy link
Collaborator

There are two places where strictures can be deleted in these files. I'll send a PR proposing these.

file pass strictures not globally specified reviewed diffs  
t/op/blocks.t x x x failing todo for rt2917
t/op/bop.t x x x  
t/op/caller.t x --- x 2 todos failing, line 162 use strict can be removed.
t/op/chdir.t x x x  
t/op/chop.t x x x  
t/op/chr.t x x x lots of todos for objective 3.
t/op/closure.t x --- x stricture at line 800
t/op/cmpchain.t x x x Line11 # no strict vars commented maybe delete?
t/op/concat2.t x x x Lin21 # commented no warnings
t/op/cond.t x x x  

@jkeenan
Copy link
Collaborator Author

jkeenan commented Sep 17, 2020

Another good review. PR merged. Forge onward!

@jkeenan jkeenan closed this as completed Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
study Study changes made by developers since 5.32.0
Projects
None yet
Development

No branches or pull requests

3 participants