Fix requirements

This commit is contained in:
Mikhail Bogdanov
2020-03-27 16:12:12 +01:00
parent c11f38688e
commit 7bcbae9826
6 changed files with 157 additions and 38 deletions
@@ -0,0 +1,27 @@
package test
interface Base {
fun foo() {}
}
interface Derived : Base
interface BaseWithProperty {
val prop: String
get() = "123"
}
interface DerivedWithProperty : BaseWithProperty
interface Empty
interface EmptyWithNested {
interface Nested
}
interface WithAbstractDeclaration {
fun foo()
var prop: String
}
interface DerivedFromWithAbstractDeclaration : WithAbstractDeclaration
+27
View File
@@ -0,0 +1,27 @@
package test
interface Base {
fun foo() {}
}
interface Derived : Base
interface BaseWithProperty {
val prop: String
get() = "123"
}
interface DerivedWithProperty : BaseWithProperty
interface Empty
interface EmptyWithNested {
interface Nested
}
interface WithAbstractDeclaration {
fun foo()
var prop: String
}
interface DerivedFromWithAbstractDeclaration : WithAbstractDeclaration