K2: don't accept reflective function kinds as possible lambda type
#KT-56954 Fixed
This commit is contained in:
committed by
Space Team
parent
7a6ff5de34
commit
af78ef77b4
+1
-1
@@ -2,7 +2,7 @@ FILE: lambdaForKfunction.kt
|
||||
public final fun foo(arg: R|kotlin/reflect/KFunction0<kotlin/Unit>|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
R|/foo|(fun <anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user