[SR-13908] Multiline strings with escaped quotes inside will ignore the escaping #56306
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
Target: x86_64-apple-darwin20.1.0
Additional Detail from JIRA
md5: 1f06cbb94df72cf69c7323173919e262
Issue Description:
Assume I want to define a hardcoded JSON object:
both the regular `"` as the `"` are interpreted the same.
json will be:
which will invalidate my json object.
The expected interpretation would be:
The text was updated successfully, but these errors were encountered: