mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
11 lines
203 B
Kotlin
Vendored
11 lines
203 B
Kotlin
Vendored
interface I
|
|
|
|
fun I.foo(p: Int): Boolean = true
|
|
|
|
fun foo(o: Any) {
|
|
if (o is I) {
|
|
o.foo(<caret>)
|
|
}
|
|
}
|
|
|
|
//Text: (<highlight>p: Int</highlight>), Disabled: false, Strikeout: false, Green: true |