mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
15 lines
179 B
Kotlin
Vendored
15 lines
179 B
Kotlin
Vendored
fun <caret>f(p1: Int, p2: Int) {
|
|
}
|
|
|
|
fun <T> doIt(p: () -> T): T = TODO()
|
|
|
|
fun g(p: String?) {
|
|
f(1, 2)
|
|
|
|
p?.let { f(3, 4) }
|
|
}
|
|
|
|
fun h() = f(5, 6)
|
|
|
|
fun x() = doIt { f(7, 8) }
|