Skip to content

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