-
-
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 ismutabletype #759
Add ismutabletype #759
Conversation
Codecov Report
@@ Coverage Diff @@
## master #759 +/- ##
==========================================
- Coverage 78.56% 78.45% -0.11%
==========================================
Files 4 4
Lines 639 636 -3
==========================================
- Hits 502 499 -3
Misses 137 137
Continue to review full report at Codecov.
|
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.
Still needs a README entry, but otherwise LGTM.
src/Compat.jl
Outdated
@@ -1195,6 +1195,16 @@ if VERSION < v"1.7.0-DEV.793" | |||
end | |||
end | |||
|
|||
if !isdefined(Base, Symbol("ismutabletype")) |
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.
Using a VERSION
check has the benefit of letting us know at what point in the future we can drop this. Though that is not a must, obviously.
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.
Remind me on how I best get the VERSION. Two steps, I think: find the commit (and its git sha1), then translate sha1 to "DEV.xyz".
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.
Correct. Step 1 involves the usual archaeology, e.g. searching through the Github PRs and identify the merge commit or use blame on the relevant code. Step 2 is then commit-name.sh [COMMIT_SHA]
.
Bump & xref JuliaIO/JLD.jl#302 |
514f7e9
to
a3c6310
Compare
All done. |
Thanks so much, @mauro3! |
Not sure this follows the rules.