Skip to content

bad inference edges being created sometime #49350

@vtjnash

Description

@vtjnash

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions