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
@@ -3,6 +3,13 @@ interface Some {
}
class Other {
fun test() {
val a = 1
}
fun otherTest() {
}
override fun equals(other: Any?): Boolean {
<selection><caret>return super.equals(other)</selection>
}
@@ -14,12 +21,5 @@ class Other {
override fun toString(): String {
return super.toString()
}
fun test() {
val a = 1
}
fun otherTest() {
}
}