You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> struct A
a::Union{Int,Nothing}
end
julia> function b(a::A)
!isnothing(a.a) && 1 < a.a
end
b (generic function with 1 method)
julia> JET.@report_call b(A(1))
═════ 1 possible error found ═════
┌ @ REPL[9]:2 1 < a.a
│┌ @ operators.jl:356 isless(x, y)
││ no matching method found `isless(::Int64, ::Nothing)`: isless(x::Int64, y::Nothing)
│└────────────────────
julia> b(A(1))
false
ref:
JuliaTime/TimeZones.jl#424
The text was updated successfully, but these errors were encountered: