KT-52875 Fix extension function literal creation with -Xlambdas=indy

This commit is contained in:
Pavel Mikhailovskii
2022-06-30 13:30:51 +02:00
committed by teamcity
parent 97c542dd76
commit 8a402bcacd
10 changed files with 53 additions and 1 deletions
@@ -0,0 +1,6 @@
// LAMBDAS: INDY
fun appendTo(s: String) =
fun Any?.() = s + this
fun box() = appendTo("O")("K")