Files
kotlin-fork/compiler/testData/diagnostics/tests/variance/privateToThis/Abstract.kt
T

8 lines
190 B
Kotlin
Vendored

internal abstract class Test</*0*/ in I> {
private/*private to this*/ final fun foo(): I {
throw Exception()
}
private/*private to this*/ final val i: I get() = foo()
}