[FIR2IR] Insert implicit coercion to unit in adapted function references
^KT-60260 Fixed
This commit is contained in:
committed by
Space Team
parent
99d5ee4db8
commit
a8914acb68
+1
-1
@@ -33,7 +33,7 @@ fun withVarargOfInt(vararg xs: Int): String {
|
||||
fun testAdaptedCR() {
|
||||
useVararg(foos = [{ // BLOCK
|
||||
local fun withVarargOfInt(p0: Int) {
|
||||
withVarargOfInt(xs = [p0])
|
||||
withVarargOfInt(xs = [p0]) /*~> Unit */
|
||||
}
|
||||
|
||||
::withVarargOfInt /*-> IFoo */
|
||||
|
||||
Reference in New Issue
Block a user