FIR2IR KT-47939 callable references to fun interface constructors
This commit is contained in:
committed by
TeamCityServer
parent
f55f880726
commit
11daed8b01
+3
-3
@@ -32,11 +32,11 @@ fun test1a(): KFunction1<@ParameterName(name = "function") Function0<Unit>, KRun
|
||||
}
|
||||
}
|
||||
|
||||
fun test1b(): KFunction<Runnable> {
|
||||
fun test1b(): KFunction<KRunnable> {
|
||||
return { // BLOCK
|
||||
local fun Runnable(function: Function0<Unit>): Runnable function /*-> Runnable */
|
||||
local fun KRunnable(function: Function0<Unit>): KRunnable function /*-> KRunnable */
|
||||
|
||||
::Runnable
|
||||
::KRunnable
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user