From 1e88f13faf10c769bb142ef00c1671171183ee95 Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Sat, 8 Oct 2022 22:35:21 -0400 Subject: [PATCH] fix 1.6 --- src/functor.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functor.jl b/src/functor.jl index 91c0301..7585754 100644 --- a/src/functor.jl +++ b/src/functor.jl @@ -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