Files
kotlin-fork/nj2k/testData/newJ2k/functionalInterfaces/AbstractGetter2.kt
T
Roman Golyshev 4436142f00 KT-38450 Add functional interface converter to the NJ2K
- Enable custom compiler options for
`AbstractNewJavaToKotlinConverterSingleFileTest`
- ^KT-38450 Fixed
2020-05-25 11:11:24 +03:00

6 lines
136 B
Kotlin
Vendored

// RUNTIME_WITH_FULL_JDK
fun interface MyRunnable {
fun getResult(): Int
val doubleResult: Int
get() = getResult() * 2
}