Multiline strings work now, both single and triple quotes. Triple quotes also correctly escapes other quotes.

This commit is contained in:
Nathan Braswell committed 2015-06-19 12:06:27 -04:00
1 parent 30802fbcf8
commit 3a87970eb3
3 files changed
+48 -1

No files matched your search

@@ -0,0 +1,10 @@
multi
line
first
second
third
How about this?
multi line?
inner quote "
+18
View File
@@ -0,0 +1,18 @@
import io:*
fun main():int {
println("multi
line")
var str = "first
second
third"
println(str)
var tripQute = """
How about this?
multi line?
inner quote "
"""
println(tripQute)
return 0
}