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

remove old code_warntype infrastructure #27698

Merged
merged 1 commit into from
Jun 21, 2018
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

No description provided.

base/show.jl Outdated
const indent_width = 4

function show_expr_type(io::IO, @nospecialize(ty), emph::Bool)
function show_expr_type(io::IO, @nospecialize(ty))
if ty === Function
print(io, "::F")
elseif ty === Core.IntrinsicFunction
print(io, "::I")
else
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just drop this function entirely now, and call print(io, "::", ty) directly? It's weird to have this one place in the code that prints two random types supertypes oddly.

@JeffBezanson JeffBezanson merged commit c1eb3e8 into master Jun 21, 2018
@JeffBezanson JeffBezanson deleted the jb/rmoldwarntype branch June 21, 2018 16:18
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

Successfully merging this pull request may close these issues.

2 participants