mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
7 lines
133 B
Kotlin
7 lines
133 B
Kotlin
class A {
|
|
fun foo(a: Int, b: Int): Int {
|
|
return {
|
|
<selection>a + b - 1</selection>
|
|
}.invoke()
|
|
}
|
|
} |