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

Printing of multiplication and vs. UInt16 etc. #36108

Closed
mcabbott opened this issue Jun 1, 2020 · 0 comments · Fixed by #36122
Closed

Printing of multiplication and vs. UInt16 etc. #36108

mcabbott opened this issue Jun 1, 2020 · 0 comments · Fixed by #36122
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior display and printing Aesthetics and correctness of printed representations of objects.

Comments

@mcabbott
Copy link
Contributor

mcabbott commented Jun 1, 2020

This is a bit odd:

julia> :(2 * a)
:(2a)

julia> 2a
ERROR: UndefVarError: a not defined
Stacktrace:
 [1] top-level scope at REPL[6]:1

julia> :(0x0 * a)
:(0x00a)

julia> 0x00a == 10
true

From here: https://discourse.julialang.org/t/not-clear-what-0-01f0x-is-in-the-flux-docs/40553/4

@JeffBezanson JeffBezanson added bug Indicates an unexpected problem or unintended behavior display and printing Aesthetics and correctness of printed representations of objects. labels Jun 1, 2020
@JeffBezanson JeffBezanson self-assigned this Jun 2, 2020
KristofferC pushed a commit that referenced this issue Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants