You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, if you press return right after the """, you will get exactly the same error message. But Swift REPL allows you to press down arrow when you enter the code. This code below should work for you.
lets = """(press down arrow)this is the first line(press down arrow)this is the second line(press down arrow)"""(pressreturn)
Extend handling of incomplete multi-line string literals during input in
REPL to also cover raw multi-line strings.
Fixesapple#52840 and apple/llvm-project#4628
Environment
Xcode 9b1, OSX10.12.5.
Xcode 9.2, macOS 10.13.2
Additional Detail from JIRA
md5: f385f79678eab7118aa36b7e040da9ac
is duplicated by:
Issue Description:
The REPL knows how to handle multiline array literals, so it ought to be able to handle unterminated triple quotes as well.
The text was updated successfully, but these errors were encountered: