db25f568dc
If the diagnostic is already reported on the corresponding property, no need to report it again for accessors
14 lines
203 B
Kotlin
14 lines
203 B
Kotlin
trait T {
|
|
internal var foo: Long
|
|
}
|
|
|
|
trait U {
|
|
protected var foo: Long
|
|
}
|
|
|
|
trait V : T, U {
|
|
<!CANNOT_INFER_VISIBILITY!>override var foo: Long<!>
|
|
}
|
|
|
|
trait <!CANNOT_INFER_VISIBILITY!>W<!> : T, U
|