Override/Implement members: place members in the same order as super class members
This commit is contained in:
committed by
Dmitry Gridin
parent
a38651c1ec
commit
a3c3ab08fd
Vendored
+3
-4
@@ -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>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user