Looks like both those cases are supported based on similar tests here:
https://github.com/apple/swift/blob/master/test/Parse/multiline_string.swift
Should be available in snapshots
`swift-4.0-DEVELOPMENT-SNAPSHOT-2017-05-09-a` onwards.
On Wed, 31 May 2017 at 13:59 Nathan Hawes via swift-dev
wrot
Hey all,
I’ve been playing with multi-line string literals recently and was wondering,
are the below cases supported intentionally or did they just fall out of the
implementation?
1) Nested multi-line strings:
let x = """
outer multi-line
\(
"""
inner multiline
"""
)
outer multi-line
"