Prioritized synthetic and not synthetic functions.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun Runnable(f: () -> Unit): Runnable = object : Runnable {
|
||||
public override fun run() {
|
||||
f()
|
||||
}
|
||||
}
|
||||
|
||||
val x = Runnable { }
|
||||
Reference in New Issue
Block a user