-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix #37282, printing juxtaposition of 0 confusion with hex,bin,oct literals #37308
Conversation
@@ -1601,7 +1601,10 @@ function show_unquoted(io::IO, ex::Expr, indent::Int, prec::Int, quote_level::In | |||
# scalar multiplication (i.e. "100x") | |||
elseif (func === :* && | |||
length(func_args) == 2 && isa(func_args[1], Union{Int, Int64, Float32, Float64}) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
length(func_args) == 2 && isa(func_args[1], Union{Int, Int64, Float32, Float64}) && | |
length(func_args) == 2 && isa(func_args[1], Union{Int32, Int64, Float32, Float64}) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm, I assume this might have been intentional
@@ -1601,7 +1601,10 @@ function show_unquoted(io::IO, ex::Expr, indent::Int, prec::Int, quote_level::In | |||
# scalar multiplication (i.e. "100x") | |||
elseif (func === :* && | |||
length(func_args) == 2 && isa(func_args[1], Union{Int, Int64, Float32, Float64}) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm, I assume this might have been intentional
fix #37282