Skip to content

Conversation

allevato
Copy link
Member

We were unconditionally appending just \ instead of respecting however many # delimiters also need to be present after it in the case of raw string literals.

Unfortunately, the broken code still compiles, just with a different meaning to the string contents. I found this one out the hard way ☹️

@allevato allevato enabled auto-merge (squash) June 26, 2025 19:00
@allevato allevato merged commit cbe4886 into swiftlang:main Jun 26, 2025
22 checks passed
@allevato allevato deleted the multiline-string-continuations branch June 26, 2025 20:04
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 this pull request may close these issues.

2 participants