diff --git a/src/config.jl b/src/config.jl index 30f02ae5..eb97a0c6 100644 --- a/src/config.jl +++ b/src/config.jl @@ -14,8 +14,8 @@ const TAGCOUNT = Threads.Atomic{UInt}(0) end function Tag(f::F, ::Type{V}) where {F,V} - tagcount(Tag{F,V}) # trigger generated function - Tag{F,V}() + tagcount(Tag{objectid(F),V}) # trigger generated function + Tag{objectid(F),V}() end Tag(::Nothing, ::Type{V}) where {V} = nothing