1706bd4a00
Otherwise it's unclear what member is problematic if it's a fake override (because the diagnostic in that case is reported on the whole class)
13 lines
168 B
Kotlin
13 lines
168 B
Kotlin
// !DIAGNOSTICS_NUMBER: 1
|
|
// !DIAGNOSTICS: CANNOT_INFER_VISIBILITY
|
|
|
|
trait T {
|
|
internal val foo: String
|
|
}
|
|
|
|
trait U {
|
|
protected val foo: String
|
|
}
|
|
|
|
trait V : T, U
|