K2: reproduce KT-61844
This commit is contained in:
committed by
Space Team
parent
36df749697
commit
b9302869d5
@@ -0,0 +1,11 @@
|
||||
// ISSUE: KT-61844
|
||||
// FIR_DUMP
|
||||
|
||||
class Foo<I, out O>(
|
||||
private val transformer: (I) -> O,
|
||||
) {
|
||||
fun <I, O> transform(foo: Foo<I, O>, bar: I) {
|
||||
foo.transformer(bar)
|
||||
foo.transformer.invoke(bar)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user