-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix package for the upcoming 1.7 release #76
Conversation
src/base-traits.jl
Outdated
@traitimpl IsBits{X} <- _isbits(X) | ||
|
||
"Trait of all immutable types" | ||
@traitdef IsImmutable{X} | ||
Base.@pure _isimmutable(X) = !X.mutable | ||
if VERSION >= v"1.7.0-DEV.1279" | ||
Base.@pure _isimmutable(x) = !(x.name.flags & 0x2 == 0x2) |
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.
I don't follow. What is this about? I tried a quick search on julialang but no luck. Tnx!
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.
But actually, I think just using ismutabletype
works.
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.
YOLO github edit...
You need to approve the workflow to run I think. |
👍 |
Thanks Kristoffer! |
No description provided.