mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
12 lines
239 B
Kotlin
Vendored
12 lines
239 B
Kotlin
Vendored
fun sideEffect() {
|
|
println("qq")
|
|
}
|
|
|
|
fun effect(): String {
|
|
sideEffect()
|
|
return "effect"
|
|
}
|
|
|
|
fun manyParams(p1: String, p2: String, p3: String) = println(p1)
|
|
|
|
fun callManySimple() = <caret>manyParams(effect(), effect(), effect()) |