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

correct printing of empty block inside ref #34559

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

simeonschaub
Copy link
Member

Another follow-up to #33946. If people are skeptical about the usage of (;;) for empty blocks here, we could also just print the ugly $(Expr(:block)) instead. (nothing;) will do the same thing as (;;) most of the time, but parses completely differently and nothing stops users from assigning something different to nothing, so I don't think it makes sense to print it that way.

@JeffBezanson JeffBezanson added the display and printing Aesthetics and correctness of printed representations of objects. label Jan 28, 2020
@JeffBezanson JeffBezanson merged commit 68ff86f into JuliaLang:master Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants