Character literals and string templates.
This commit is contained in:
committed by
Dmitry Petrov
parent
f83237498f
commit
86a52e6426
@@ -0,0 +1,10 @@
|
||||
fun foo(): String = ""
|
||||
|
||||
val test1 = ""
|
||||
val test2 = "abc"
|
||||
val test3 = """"""
|
||||
val test4 = """abc"""
|
||||
val test5 = """
|
||||
abc
|
||||
"""
|
||||
val test6 = "$test1 ${foo()}"
|
||||
Reference in New Issue
Block a user