Compat.jl icon indicating copy to clipboard operation
Compat.jl copied to clipboard

print nothing

Open aminya opened this issue 5 years ago • 0 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

aminya avatar May 05 '20 05:05 aminya