-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
#785
add Splat
#785
Conversation
Codecov Report
@@ Coverage Diff @@
## master #785 +/- ##
==========================================
+ Coverage 91.69% 91.86% +0.16%
==========================================
Files 2 2
Lines 253 258 +5
==========================================
+ Hits 232 237 +5
Misses 21 21
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
src/Compat.jl
Outdated
@@ -616,6 +616,44 @@ if VERSION < v"1.9.0-DEV.1163" | |||
|
|||
_empty_stack(_...) = throw(ArgumentError("`stack` on an empty collection is not allowed")) | |||
end | |||
|
|||
@static if !isdefined(Base, :Splat) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@static if !isdefined(Base, :Splat) | |
if VERSION < v"1.9.0-DEV.513" |
To make it easier in the future to figure out at what point this can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, but I think it's better to do it with a @static if
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And why is that?
After JuliaLang/julia#48038 this should probably export some lower-case |
Ah, this is quite unfortunate. Un-exporting
And why is that? |
Ref: JuliaLang/julia#42717