Files
kotlin/compiler/testData/asJava/lightClasses/InheritingInterfaceDefaultImpls.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

24 lines
218 B
Kotlin
Vendored

// p.Inheritor
package p
class Inheritor: I, I2 {
fun f() {
}
override fun g() {
}
}
interface I : I1 {
fun g()
}
interface I1 {
fun foo() = "foo"
}
interface I2 {
fun bar() = "bar"
}