Files
kotlin/compiler/testData/asJava/lightClasses/nullabilityAnnotations/IntOverridesAny.kt
Pavel V. Talanov 69c250a1b7 Light class test: avoid checking method visibility when NoLaziness is not specified
Allows to avoid putting NoLaziness flag on every test that mentions 'override' modifier
2017-04-09 15:09:15 +03:00

11 lines
123 B
Kotlin
Vendored

// C
interface Tr {
fun foo(): Any
val v: Any
}
class C: Tr {
override fun foo() = 1
override val v = 1
}