FIR: rename HIDDEN to INVISIBLE_REFERENCE

Some of them should be INVISIBLE_MEMBER though
This commit is contained in:
pyos
2021-04-19 10:14:16 +02:00
committed by Mikhail Glukhikh
parent f1cf6b54e7
commit e6d923f65c
139 changed files with 284 additions and 468 deletions
+3 -3
View File
@@ -7,14 +7,14 @@ open class Some {
class SomeSubclass : Some() {
fun test() {
this.<!HIDDEN!>privateField<!> // 1. Unresolved reference
this.<!INVISIBLE_REFERENCE!>privateField<!> // 1. Unresolved reference
}
}
fun test() {
val s2 = Some()
s2.<!HIDDEN!>privateField<!> // 2. Can't access to 'privateField' in Some
s2.<!INVISIBLE_REFERENCE!>privateField<!> // 2. Can't access to 'privateField' in Some
val s1 = SomeSubclass()
s1.<!HIDDEN!>privateField<!> // 3. Unresolved reference
s1.<!INVISIBLE_REFERENCE!>privateField<!> // 3. Unresolved reference
}