JuliaLang/Compat.jl

print nothing

aminya opened this issue · 1 comments

For Julia <= 1.2 the following method is not defined.

if VERSION <=  v"1.2"
    Base.print(io, ::Nothing) = Base.print(io, "")
    Base.print(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Nothing) = Base.print(io, "")
    Base.string(::Nothing) = ""
end

In Julia 1.6 and later, all these give "nothing", so this seems outdated/unnecessary with Compat targeting Jula 1.6+.