K2: Add new tests for PCLA implementation
Many of them have been found & minimized at FP tests/user projects ^KT-59791 Fixed
This commit is contained in:
committed by
Space Team
parent
90feeab076
commit
7e4d9d9f64
+13
@@ -0,0 +1,13 @@
|
||||
// FIR_IDENTICAL
|
||||
interface Box<F> {
|
||||
fun add(f: F)
|
||||
fun get(): F
|
||||
}
|
||||
|
||||
fun <E> myBuilder(x: Box<E>.() -> Unit): Box<E> = TODO()
|
||||
|
||||
fun main() {
|
||||
myBuilder {
|
||||
add("")
|
||||
}.get().length
|
||||
}
|
||||
Reference in New Issue
Block a user