Name validation filters out invisible declarations
This commit is contained in:
@@ -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()
|
||||
+12
@@ -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()
|
||||
Reference in New Issue
Block a user