mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When outputting strings for things like filenames, using `write_escaped` will result in Unicode characters being outputted with a full 3-character-octal or hex escape. Clients which expect a UTF-8 JSON output will not be able to parse such escape sequences.
4 lines
28 B
Swift
4 lines
28 B
Swift
func foo() {
|
|
print(1)
|
|
}
|