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

14 lines
210 B
Kotlin
Vendored

interface T {
public var foo: Short
internal set
}
interface U {
public var foo: Short
protected set
}
interface V : T, U {
<!CANNOT_INFER_VISIBILITY!>override var foo: Short<!>
}