JVM_IR KT-47939 equality for fun interface constructor references
This commit is contained in:
committed by
TeamCityServer
parent
50b0dae786
commit
e179598457
@@ -31,6 +31,12 @@ public class FunctionReference extends CallableReference implements FunctionBase
|
||||
* fun useSuspend(f: suspend () -> Unit) {}
|
||||
* useSuspend(::target)
|
||||
* </pre></ul>
|
||||
* <ul>4 - whether it is a synthetic <code>fun interface</code> constructor, i.e., <pre>
|
||||
* fun interface KRunnable {
|
||||
* fun run()
|
||||
* }
|
||||
* val kr: (() -> Unit) -> KRunnable = ::KRunnable
|
||||
* </pre></ul>
|
||||
* </li>
|
||||
*/
|
||||
@SinceKotlin(version = "1.4")
|
||||
|
||||
Reference in New Issue
Block a user