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 ismutable to Compat for Julia PR 34652 #686

Merged
merged 10 commits into from
Feb 9, 2020

Conversation

ssikdar1
Copy link
Contributor

@ssikdar1 ssikdar1 commented Feb 5, 2020

to add ismutable for julia PR JuliaLang/julia#34652

Copy link
Member

@martinholters martinholters left a comment

Choose a reason for hiding this comment

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

Some minor remarks, the addition itself looks good to me. But in any case, we should wait until JuliaLang/julia#34652 has landed with merging this one.

Project.toml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/Compat.jl Outdated Show resolved Hide resolved
# https://github.com/JuliaLang/julia/pull/34652
if VERSION < v"1.5.0-DEV.231"
export ismutable
ismutable(@nospecialize(x)) = (Base.@_pure_meta; typeof(x).mutable)
Copy link
Member

Choose a reason for hiding this comment

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

This could use @pure (no bootstrapping issues in Compat.jl), but doesn't really matter.

src/Compat.jl Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
@martinholters martinholters merged commit 00e601a into JuliaLang:master Feb 9, 2020
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.

2 participants