Fix IR generation for string templates containing single entry.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
fun foo(): String = ""
|
||||
val x = 42
|
||||
|
||||
val test1 = ""
|
||||
val test2 = "abc"
|
||||
@@ -7,4 +8,8 @@ val test4 = """abc"""
|
||||
val test5 = """
|
||||
abc
|
||||
"""
|
||||
val test6 = "$test1 ${foo()}"
|
||||
val test6 = "$test1 ${foo()}"
|
||||
|
||||
val test7 = "$test1"
|
||||
val test8 = "${foo()}"
|
||||
val test9 = "$x"
|
||||
Reference in New Issue
Block a user