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
@@ -7,11 +7,10 @@ interface T<X> {
enum class E : T<Int> {
A, B, C;
override fun foo(x: Int): Int {
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
val bar = 1
fun baz() = 2
override fun foo(x: Int): Int {
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}