UAST: Complex test data moved to separate file (KT-20990)

This commit is contained in:
Nicolay Mitropolsky
2017-11-06 13:16:19 +01:00
committed by xiexed
parent 9730d50e10
commit fab8187574
7 changed files with 109 additions and 48 deletions
+17
View File
@@ -0,0 +1,17 @@
val muchRecur = "${"${"${"abc"}"}"}"
val case4 = "a ${"literal"} z"
val case5 = "a ${"literal"} ${"literal"} z"
val literalInLiteral = "a ${"literal$case4"} z"
val literalInLiteral2 = "a ${"literal$case4".repeat(4)} z"
fun simpleForTemplate(i: Int = 0) = "$i"
fun foo() {
println("$baz")
val template1 = "${simpleForTemplate()}"
val template2 = ".${simpleForTemplate()}"
}