KT-10006 Parameter Info does not work for smart cast receiver

#KT-10006 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-11-16 19:38:28 +03:00
parent 4e44466cf9
commit 603bcaa039
7 changed files with 56 additions and 12 deletions
@@ -0,0 +1,11 @@
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