cf5c5dba3d
prioritize tasks specially for invoke #KT-3189 Fixed #KT-3190 Fixed #KT-3297 Fixed
12 lines
135 B
Kotlin
12 lines
135 B
Kotlin
trait A
|
|
trait Foo {
|
|
fun A.invoke()
|
|
}
|
|
|
|
fun test(a: A, foo: Foo) {
|
|
a.foo()
|
|
}
|
|
|
|
fun test(a: Int, foo: Int.()->Unit) {
|
|
a.foo()
|
|
} |