See, there are Any
’s poping out in the middle of the journey.
julia> using JET
julia> @report_opt println(["Bla", "Bla"])
═════ 4 possible errors found ═════
┌ println(xs::Vector{String}) @ Base ./coreio.jl:4
│┌ println(io::IO, xs::Vector{String}) @ Base ./strings/io.jl:75
││┌ print(::IO, ::Vector{String}, ::String) @ Base ./strings/io.jl:46
│││┌ print(io::IO, x::Vector{String}) @ Base ./strings/io.jl:35
││││┌ show(io::IO, X::Vector{String}) @ Base ./arrayshow.jl:486
│││││┌ show_vector(io::IO, v::Vector{String}) @ Base ./arrayshow.jl:515
││││││┌ show_vector(io::IO, v::Vector{String}, opn::Char, cls::Char) @ Base ./arrayshow.jl:515
│││││││┌ typeinfo_prefix(io::IO, X::Vector{String}) @ Base ./arrayshow.jl:588
││││││││┌ kwcall(::NamedTuple{(:context,), <:Tuple{IO}}, ::typeof(sprint), f::typeof(Base.show_type_name), args::Core.TypeName) @ Base ./strings/io.jl:107
│││││││││┌ pairs(nt::NamedTuple) @ Base.Iterators ./iterators.jl:279
││││││││││┌ (Base.Pairs{Symbol})(data::NamedTuple, itr::Tuple{Vararg{Symbol}}) @ Base ./essentials.jl:343
│││││││││││┌ eltype(::Type{A} where A<:NamedTuple) @ Base ./namedtuple.jl:237
││││││││││││┌ nteltype(::Type{NamedTuple{names, T}} where names) where T<:Tuple @ Base ./namedtuple.jl:239
│││││││││││││┌ eltype(t::Type{<:Tuple{Vararg{E}}}) where E @ Base ./tuple.jl:208
││││││││││││││┌ _compute_eltype(t::Type{<:Tuple{Vararg{E}}} where E) @ Base ./tuple.jl:231
│││││││││││││││┌ afoldl(op::Base.var"#54#55", a::Any, bs::Vararg{Any}) @ Base ./operators.jl:544
││││││││││││││││┌ (::Base.var"#54#55")(a::Any, b::Any) @ Base ./tuple.jl:235
│││││││││││││││││┌ promote_typejoin(a::Any, b::Any) @ Base ./promotion.jl:172
││││││││││││││││││┌ typejoin(a::Any, b::Any) @ Base ./promotion.jl:127
│││││││││││││││││││ runtime dispatch detected: Base.UnionAll(%403::Any, %405::Any)::Any
││││││││││││││││││└────────────────────
│││││││││││││││┌ afoldl(op::Base.var"#54#55", a::Any, bs::Vararg{Any}) @ Base ./operators.jl:545
││││││││││││││││┌ (::Base.var"#54#55")(a::Type, b::Any) @ Base ./tuple.jl:235
│││││││││││││││││┌ promote_typejoin(a::Type, b::Any) @ Base ./promotion.jl:172
││││││││││││││││││┌ typejoin(a::Type, b::Any) @ Base ./promotion.jl:127
│││││││││││││││││││ runtime dispatch detected: Base.UnionAll(%398::Any, %400::Any)::Any
││││││││││││││││││└────────────────────
│││││││││┌ sprint(f::typeof(Base.show_type_name), args::Core.TypeName; context::IO, sizehint::Int64) @ Base ./strings/io.jl:112
││││││││││┌ show_type_name(io::IOContext{IOBuffer}, tn::Core.TypeName) @ Base ./show.jl:1042
│││││││││││ runtime dispatch detected: Base.isvisible(%32::Symbol, %89::Module, %83::Any)::Bool
││││││││││└────────────────────
┌ println(xs::Vector{String}) @ Base ./coreio.jl:4
│ runtime dispatch detected: println(%1::IO, %2::Vector{String})::Nothing
└────────────────────