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,17 @@
class B {
open fun foo1(): String = ""
open fun foo2(): String = ""
open fun foo3(): Int = ""
}
class C : B() {
override fun foo2(): String {
takeInt(super.fo<caret>)
}
}
fun takeInt(p: Int){}
// ORDER: foo2
// ORDER: foo3
// ORDER: foo1