Name validation filters out invisible declarations

This commit is contained in:
Valentin Kipyatkov
2015-06-26 21:57:10 +03:00
parent 5c0195ff68
commit 4a52247ab7
4 changed files with 46 additions and 3 deletions
@@ -0,0 +1,12 @@
open class Base {
private val xxx = 1
}
class For : Base() {
fun foo(f: For) {
<selection>f.xxx</selection>
}
}
val For.xxx: For
get() = For()
@@ -0,0 +1,12 @@
open class Base {
private val xxx = 1
}
class For : Base() {
fun foo(f: For) {
val xxx = f.xxx
}
}
val For.xxx: For
get() = For()