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 (1 of 12) #211

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

Study changes to t/op/*.t (1 of 12) #211

jkeenan opened this issue Aug 17, 2020 · 6 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/64bitint.t
t/op/alarm.t
t/op/anonconst.t
t/op/anonsub.t
t/op/append.t
t/op/array.t
t/op/attrs.t
t/op/auto.t
t/op/avhv.t
t/op/bless.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 take this issue.

@brainbuz
Copy link
Collaborator

brainbuz commented Sep 16, 2020

I've reviewed these test files and they are all passing on a Linux system.

file pass strictures not globally specified reviewed diffs  
t/op/64bitint.t x x x  
t/op/alarm.t x x x has conditional for platforms. Also a todo was added which passes
t/op/anonconst.t x x x  
t/op/anonsub.t x needs commit x stricture still in upstream, passes with removal.
t/op/append.t x x x  
t/op/array.t x x x a lot of changes with selective strict and declations of variables.
t/op/attrs.t x x x has tests that turn strict on or off
t/op/auto.t x x x  
t/op/avhv.t x x x  
t/op/bless.t x x x  

@jkeenan
Copy link
Collaborator Author

jkeenan commented Sep 16, 2020

I've reviewed these test files and they are all passing on a Linux system.

Thanks. Were there any locations where our adaptations to the files to get them to run under strict-by-default seemed problematic?

@brainbuz
Copy link
Collaborator

I've redone the assignment and updated my results. I recommend one change to remove use strict at line 7 of anonsub. should I submit a PR?
That test also has a todo failure which may be quite old.

@jkeenan
Copy link
Collaborator Author

jkeenan commented Sep 16, 2020 via email

atoomic added a commit that referenced this issue Sep 16, 2020
proposed revision #211 to remove stricture.
@jkeenan
Copy link
Collaborator Author

jkeenan commented Sep 16, 2020

Good work; @atoomic just merged your p.r. As of commit 6a85d9e you are now a Perl author. Closing this ticket.

Thank you very much.
Jim Keenan

@jkeenan jkeenan closed this as completed Sep 16, 2020
jkeenan pushed a commit to jkeenan/perl that referenced this issue Sep 21, 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

2 participants