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 e746ba4 commit 3ead663Copy full SHA for 3ead663
base/reflection.jl
@@ -627,7 +627,9 @@ 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.flags & 0x2 == 0x2)
+ismutable(@nospecialize(x)) = (@_total_meta; (typeof(x).name::Core.TypeName).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
634
635
ismutabletype(T) -> Bool
0 commit comments