Skip to content

Commit

Permalink
fix 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Oct 9, 2022
1 parent 7eb0e68 commit 1e88f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if VERSION < v"1.7"
# Copied verbatim from Base, except omitting the macro:
function ismutabletype(@nospecialize t)
# @_total_meta
t = unwrap_unionall(t)
t = Base.unwrap_unionall(t)
return isa(t, DataType) && t.name.flags & 0x2 == 0x2
end
end

0 comments on commit 1e88f13

Please sign in to comment.