-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Description
There seems to be MethodInstance edges created at some point with bad type information (while building OmniPackage), such as this one:
MethodInstance for convert(::Type, ::Tuple{Vararg{Symbol}}))
There should only be one method for this re-lookup, but obviously that fails quite badly when we try to go verify that fact in the cache. This is unnecessarily expensive. Why does it make that bad edge?
julia> methods(convert, (Type{<:Tuple}, Tuple{Vararg{Symbol}}))
convert(::Type{T}, x::Tuple{Vararg{Any, N}}) where {N, T<:Tuple}
@ Base essentials.jl:451