Open jansorg opened 5 months ago
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/lexicalstructure#String-Literals
If I'm not mistaken, the current form of the grammar rules does not support SE-0228. For example the following would not be accepted:
"The price is $\(cost, format: "%.2f")"
The changes outlined at https://github.com/apple/swift-evolution/blob/main/proposals/0228-fix-expressiblebystringinterpolation.md should be supported.
Location
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/lexicalstructure#String-Literals
Description
If I'm not mistaken, the current form of the grammar rules does not support SE-0228. For example the following would not be accepted:
Correction
The changes outlined at https://github.com/apple/swift-evolution/blob/main/proposals/0228-fix-expressiblebystringinterpolation.md should be supported.