mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 08:31:35 +00:00
11 lines
207 B
Kotlin
Vendored
11 lines
207 B
Kotlin
Vendored
fun <caret>foo(p1: String, p2: () -> Boolean) = bar(p1, null, p2)
|
|
|
|
fun bar(p1: String, p2: String?, p3: () -> Boolean)
|
|
|
|
fun foo(i: I) {
|
|
foo("foo") {
|
|
println("bar")
|
|
println("baz")
|
|
}
|
|
}
|