[FIR] Report warnings for inconsistent visibilities of accessors
K1 didn't report diagnostics for accessors of intersection overrides, so this change prevents a BC. ^KT-66046 Fixed
This commit is contained in:
committed by
Space Team
parent
7ecbaf7d1e
commit
d3dfbec01a
Vendored
+1
-1
@@ -9,7 +9,7 @@ interface I1 {
|
||||
var a: Int
|
||||
}
|
||||
|
||||
abstract class <!CANNOT_WEAKEN_ACCESS_PRIVILEGE!>B1<!> : A1(), I1
|
||||
abstract class <!CANNOT_WEAKEN_ACCESS_PRIVILEGE_WARNING!>B1<!> : A1(), I1
|
||||
|
||||
open class A2 {
|
||||
protected fun foo(): Int = 10
|
||||
|
||||
Reference in New Issue
Block a user