Files
kotlin/idea/testData/parameterInfo/functionCall/SmartCastReceiver.kt
2015-11-20 15:36:31 +03:00

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