Files
kotlin-fork/idea/testData/intentions/convertLambdaToReference/object.kt
T
Mikhail Glukhikh 220141ab2b Convert lambda to callable reference intention / inspection #KT-10903 Fixed
(cherry picked from commit b620099)
2016-07-18 17:10:15 +03:00

7 lines
102 B
Kotlin
Vendored

// IS_APPLICABLE: false
object Object {
fun foo() = 42
}
val x = { o: Object -> o.foo()<caret> }