Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print nothing #698

Closed
aminya opened this issue May 5, 2020 · 1 comment
Closed

print nothing #698

aminya opened this issue May 5, 2020 · 1 comment

Comments

@aminya
Copy link

aminya commented May 5, 2020

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
@martinholters
Copy link
Member

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

@martinholters martinholters closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants