Preference of right member after "super." and not only

This commit is contained in:
Valentin Kipyatkov
2015-11-03 20:54:05 +03:00
parent 731f19ee36
commit 99b35257c6
7 changed files with 112 additions and 4 deletions
@@ -0,0 +1,23 @@
interface I {
fun foo1()
fun foo2()
fun foo3()
}
abstract class Base1 : I
abstract class Base2 : I
abstract class A : Base1() {
override fun foo2() {
}
}
abstract class B(val a: A) : Base2() {
override fun foo2() {
a.<caret>
}
}
// ORDER: foo2
// ORDER: foo1
// ORDER: foo3