Skip to content

Conversation

@JeffBezanson
Copy link
Member

fix #37282

@JeffBezanson JeffBezanson added bugfix This change fixes an existing bug display and printing Aesthetics and correctness of printed representations of objects. labels Aug 31, 2020

# scalar multiplication (i.e. "100x")
elseif (func === :* &&
length(func_args) == 2 && isa(func_args[1], Union{Int, Int64, Float32, Float64}) &&
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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}) &&

Copy link
Member

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


# scalar multiplication (i.e. "100x")
elseif (func === :* &&
length(func_args) == 2 && isa(func_args[1], Union{Int, Int64, Float32, Float64}) &&
Copy link
Member

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

@JeffBezanson JeffBezanson merged commit f896006 into master Sep 1, 2020
@JeffBezanson JeffBezanson deleted the jb/fix37282 branch September 1, 2020 22:18
@KristofferC KristofferC mentioned this pull request Sep 7, 2020
29 tasks
KristofferC pushed a commit that referenced this pull request Sep 7, 2020
KristofferC pushed a commit that referenced this pull request Sep 7, 2020
KristofferC pushed a commit that referenced this pull request Sep 8, 2020
KristofferC pushed a commit that referenced this pull request Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug display and printing Aesthetics and correctness of printed representations of objects.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ambiguity between the representation of Expr containing hexadecimal literals and juxtaposing of a variable starting with 'x'

6 participants