Override/Implement members: place members in the same order as super class members

This commit is contained in:
Toshiaki Kameyama
2019-04-05 16:52:35 +09:00
committed by Dmitry Gridin
parent a38651c1ec
commit a3c3ab08fd
18 changed files with 480 additions and 23 deletions
@@ -0,0 +1,27 @@
interface A {
fun a1()
fun a2()
fun a3()
fun a4()
fun a5()
fun a6()
fun a7()
fun a8()
}
interface B {
fun b3()
fun b2()
fun b1()
}
class <caret>Test : A, B {
override fun a3() {
}
override fun b2() {
}
override fun a6() {
}
}