a65304556c
This allows to avoid "unused return value of a function with lambda expression body" for such a situation So #KT-20429 Fixed
7 lines
108 B
Kotlin
Vendored
7 lines
108 B
Kotlin
Vendored
// PROBLEM: none
|
|
|
|
enum class Test(f: () -> Unit) {
|
|
A(<caret>getFunc())
|
|
}
|
|
|
|
fun getFunc(): () -> Unit = {} |