mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
18 lines
175 B
Kotlin
18 lines
175 B
Kotlin
class A {
|
|
fun foo(a: A) = a
|
|
}
|
|
|
|
fun bar(a: A) = A()
|
|
|
|
fun foo() {
|
|
val a = A()
|
|
bar(
|
|
bar(
|
|
bar(a)
|
|
)
|
|
)
|
|
|
|
}
|
|
|
|
// 2 5 8 9 15
|