highlight usages for parameter doesn't look at base declarations

#KT-10204 Fixed
This commit is contained in:
Dmitry Jemerov
2016-02-03 16:56:09 +01:00
parent 37976e516c
commit bcc3102e05
4 changed files with 25 additions and 2 deletions
@@ -0,0 +1,11 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtParameter
// HIGHLIGHTING
interface A {
fun test(foo: Int)
}
class B(): A {
override fun test(foo<caret>: Int) {
println(foo) // not highlighted `foo`
}
}
@@ -0,0 +1 @@
Value read (9: 17) println(foo) // not highlighted `foo`