Closed
Description
E.g.:
julia> using ArrayInterface, Test
julia> Test.detect_ambiguities(ArrayInterface)
ERROR: TypeVar in Vararg length must have bounds Union{} and Any
Stacktrace:
[1] _methods_by_ftype
@ ./reflection.jl:884 [inlined]
[2] (::Test.var"#examine#37"{Bool, Bool, Vector{Module}, Test.var"#sortdefs#36", Set{Tuple{Method, Method}}})(mt::Core.MethodTable)
@ Test ~/Documents/languages/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1481
[3] detect_ambiguities(mods::Module; recursive::Bool, ambiguous_bottom::Bool)
@ Test ~/Documents/languages/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1506
[4] detect_ambiguities(mods::Module)
@ Test ~/Documents/languages/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1468
[5] top-level scope
@ REPL[4]:1
julia> Test.detect_ambiguities(ArrayInterface, ambiguous_bottom=true)
ERROR: TypeVar in Vararg length must have bounds Union{} and Any
Stacktrace:
[1] _methods_by_ftype
@ ./reflection.jl:884 [inlined]
[2] (::Test.var"#examine#37"{Bool, Bool, Vector{Module}, Test.var"#sortdefs#36", Set{Tuple{Method, Method}}})(mt::Core.MethodTable)
@ Test ~/Documents/languages/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1481
[3] detect_ambiguities(mods::Module; recursive::Bool, ambiguous_bottom::Bool)
@ Test ~/Documents/languages/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1506
[4] top-level scope
@ REPL[10]:1