FIR2IR: use invariant projections for SAM_CONVERSION types
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box(): String {
|
||||
val map: MutableMap<Fun, String> = mutableMapOf<Fun, String>()
|
||||
val fn: Fun = local fun <anonymous>(it: String?): String? {
|
||||
return TODO()
|
||||
}
|
||||
/*-> Fun */
|
||||
return map.computeIfAbsent(p0 = fn, p1 = local fun <anonymous>(it: Fun?): String? {
|
||||
return "OK"
|
||||
}
|
||||
/*-> @FlexibleNullability Function<Fun?, String?> */)
|
||||
}
|
||||
Reference in New Issue
Block a user