Files
kotlin-fork/compiler/testData/diagnostics/tests/override/CannotInferVisibilityForProperty.kt
T
2015-05-12 19:43:17 +02:00

14 lines
219 B
Kotlin
Vendored

interface T {
internal var foo: Long
}
interface U {
protected var foo: Long
}
interface V : T, U {
<!CANNOT_INFER_VISIBILITY!>override var foo: Long<!>
}
interface <!CANNOT_INFER_VISIBILITY!>W<!> : T, U