mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-15 15:53:36 +00:00
12 lines
216 B
Plaintext
Vendored
12 lines
216 B
Plaintext
Vendored
// PARAM_DESCRIPTOR: value-parameter n: kotlin.Int defined in E.A.foo
|
|
// PARAM_TYPES: kotlin.Int
|
|
enum class E {
|
|
// SIBLING:
|
|
A {
|
|
fun foo(n: Int) = i(n)
|
|
},
|
|
B,
|
|
C;
|
|
|
|
fun i(n: Int) = n + 1
|
|
} |