`Base.max(::Int, ::Int) = nothing` crashes Julia

This is a potential consequence of committing type piracy - you’ve ended up overwriting a method that’s used by julia internally, causing an error that’s fatal. You get a similar result if you redefine Base.+(::Int, ::Int). The crash here is expected.

8 Likes