FIR: check visibility properly for CANNOT_CHANGE_ACCESS_PRIVILEGE
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f45af5ea0e
commit
c5cabce2d5
+1
-1
@@ -24,7 +24,7 @@ interface T {
|
||||
}
|
||||
|
||||
class D : C(), T {
|
||||
protected override fun foo() {}
|
||||
<!CANNOT_CHANGE_ACCESS_PRIVILEGE!>protected<!> override fun foo() {}
|
||||
}
|
||||
|
||||
class E : C(), T {
|
||||
|
||||
Reference in New Issue
Block a user