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