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

Add splat #786

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Add splat #786

merged 1 commit into from
Feb 2, 2023

Conversation

martinholters
Copy link
Member

Comment on lines +584 to +588
if v"1.10.0-" <= VERSION < v"1.10.0-DEV.360" ||
v"1.9.0-DEV.513" <= VERSION < v"1.9.0-beta3"
# these versions of Base export Splat (which we use) but pretty-print with capital `S`
@test repr(splat(+)) == "Splat(+)"
@test repr(MIME"text/plain"(), splat(+)) == "Splat(+)"
Copy link
Member Author

Choose a reason for hiding this comment

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

This is from between JuliaLang/julia#42717 and JuliaLang/julia#48038. Note that it only affects pre-release versions, so I decided not to worry about it too much and try to print lower-case everywhere, but instead just make the tests pass.

@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Merging #786 (21b2df9) into master (5e16dfb) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #786      +/-   ##
==========================================
+ Coverage   91.86%   91.92%   +0.06%     
==========================================
  Files           2        2              
  Lines         258      260       +2     
==========================================
+ Hits          237      239       +2     
  Misses         21       21              
Impacted Files Coverage Δ
src/Compat.jl 92.46% <100.00%> (+0.06%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@martinholters
Copy link
Member Author

Should probably get #787 in first, to have a CI run with 1.9 on this one.

@martinholters
Copy link
Member Author

Ok, CI looks good (including on 1.9), so good to go from my side.

@martinholters
Copy link
Member Author

Our tests currently fail on Julia 1.9 and master because they test for Splat. With the development here being relatively slow, fixing it is not too urgent, but I'd nevertheless to do so soonish by merging this PR, unless anyone objects.

@martinholters martinholters merged commit 9eeab91 into master Feb 2, 2023
@martinholters martinholters deleted the mh/splat branch February 2, 2023 09:33
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.

1 participant