FIR: check visibility properly for CANNOT_CHANGE_ACCESS_PRIVILEGE

This commit is contained in:
Jinseong Jeon
2021-02-25 23:39:10 -08:00
committed by Mikhail Glukhikh
parent f45af5ea0e
commit c5cabce2d5
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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 {