diff --git a/base/deprecated.jl b/base/deprecated.jl index c17ab3a2d7683..48105e831f6eb 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -209,6 +209,6 @@ julia> isimmutable([1,2]) false ``` """ -isimmutable(@nospecialize(x)) = (@_pure_meta; !typeof(x).mutable) +isimmutable(@nospecialize(x)) = !ismutable(x) # END 1.5 deprecations