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

carry through extra parameters when completing HalfOps #55

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

haarg
Copy link
Contributor

@haarg haarg commented Apr 30, 2020

Parameterized type subs will receive one argument with their arguments,
but may also get additional arguments that they need to just add to the
list they return. The code that completes HalfOp combinations, which
handle the different precendence under perl < 5.14, wasn't accounting
for this, so some arguments could get lost.

Fixes RT#132455

Parameterized type subs will receive one argument with their arguments,
but may also get additional arguments that they need to just add to the
list they return. The code that completes HalfOp combinations, which
handle the different precendence under perl < 5.14, wasn't accounting
for this, so some arguments could get lost.

Fixes RT#132455
@codecov
Copy link

codecov bot commented Apr 30, 2020

Codecov Report

Merging #55 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   88.78%   88.75%   -0.03%     
==========================================
  Files          36       36              
  Lines        3583     3583              
  Branches      984      984              
==========================================
- Hits         3181     3180       -1     
  Misses         62       62              
- Partials      340      341       +1     
Impacted Files Coverage Δ
lib/Type/Library.pm 86.22% <ø> (ø)
lib/Eval/TypeTiny.pm 93.33% <0.00%> (-1.34%) ⬇️
lib/Types/Standard.pm 82.92% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdbc72d...f10c560. Read the comment docs.

@tobyink tobyink merged commit 418e980 into tobyink:master Apr 30, 2020
@tobyink
Copy link
Owner

tobyink commented Apr 30, 2020

I'm getting fails on Perl < 5.14 on Travis.

https://travis-ci.org/github/tobyink/p5-type-tiny/builds/681573512

@haarg
Copy link
Contributor Author

haarg commented Apr 30, 2020

Oops. Should be fixed by #56.

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