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

Julia v1.7.0, \ and newline on Windows #41330

Closed
PaulSoderlind opened this issue Jun 23, 2021 · 0 comments · Fixed by #41382
Closed

Julia v1.7.0, \ and newline on Windows #41330

PaulSoderlind opened this issue Jun 23, 2021 · 0 comments · Fixed by #41382
Assignees
Milestone

Comments

@PaulSoderlind
Copy link
Contributor

Julia 1.7.0-beta2 allows \ to remove the newline as in

txt = "This is a long \
line"
println(txt)

to print as
This is a long line

Nice, but this does not work with the Windows standard \r\n. I guess this could easily lead to mix-ups when moving code across platforms.

@mbauman mbauman added this to the 1.7 milestone Jun 23, 2021
KristofferC pushed a commit that referenced this issue Jun 30, 2021
johanmon pushed a commit to johanmon/julia that referenced this issue Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants