K2: Add test for obsolete KT-56663

It was fixed via 898a9a0f2c together with
KT-53966

^KT-56663 Obsolete
This commit is contained in:
Denis.Zharkov
2023-02-17 17:02:51 +01:00
committed by Space Team
parent 0c9fad87c3
commit 14ca12b50b
5 changed files with 36 additions and 0 deletions
@@ -0,0 +1,12 @@
// FIR_IDENTICAL
// FULL_JDK
// SKIP_TXT
// ISSUE: KT-56663
import java.util.function.Supplier
class Panel(supplier: Supplier<String>?)
fun main(s: String?) {
Panel(s?.let { { it } })
}