7 lines
100 B
Kotlin
Vendored
7 lines
100 B
Kotlin
Vendored
class A(val n: Int) {
|
|
fun <caret>foo(): Boolean = n > 1
|
|
}
|
|
|
|
fun test() {
|
|
val t = A(1).foo()
|
|
} |