We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ead663 commit 1d2f7aaCopy full SHA for 1d2f7aa
base/reflection.jl
@@ -627,7 +627,7 @@ true
627
!!! compat "Julia 1.5"
628
This function requires at least Julia 1.5.
629
"""
630
-ismutable(@nospecialize(x)) = (@_total_meta; (typeof(x).name::Core.TypeName).flags & 0x2 == 0x2)
+ismutable(@nospecialize(x)) = (@_total_meta; (inferencebarrier(typeof(x))::DataType).name.flags & 0x2 == 0x2)
631
# The type assertion above is required to fix some invalidations.
632
# See also https://github.com/JuliaLang/julia/issues/52134
633
0 commit comments