mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
15 lines
200 B
Kotlin
Vendored
15 lines
200 B
Kotlin
Vendored
interface A
|
|
|
|
fun A.foo(i: Int) = i
|
|
|
|
class B {
|
|
companion object : A
|
|
}
|
|
|
|
fun test() {
|
|
B.foo(<caret>)
|
|
}
|
|
|
|
/*
|
|
Text: (<highlight>i: Int</highlight>), Disabled: false, Strikeout: false, Green: true
|
|
*/ |