From 47d624ac668de6fa29a9d6fc9ac47b6c83d01ac7 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Wed, 7 Sep 2016 18:09:38 +0300 Subject: [PATCH] Better test --- .../idea-completion/testData/weighers/basic/Callables.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/idea/idea-completion/testData/weighers/basic/Callables.kt b/idea/idea-completion/testData/weighers/basic/Callables.kt index 581f141674c..9a0f9d2d034 100644 --- a/idea/idea-completion/testData/weighers/basic/Callables.kt +++ b/idea/idea-completion/testData/weighers/basic/Callables.kt @@ -8,7 +8,7 @@ open class Base { val aaBaseProp = 1 } -class Derived : Base() { +class Derived : Base(), Common { fun aaDerivedFun(){} val aaDerivedProp = 1 @@ -32,7 +32,7 @@ interface Y : X { fun aaY() } -interface Z1 { +interface Z1 : Common { fun aaaZ1() fun aabZ1() } @@ -42,6 +42,10 @@ interface Z2 { fun aabZ2() } +interface Common { + fun aazCommon() +} + fun Any.aaAnyExtensionFun(){} fun Derived.aaExtensionFun(){} @@ -69,6 +73,7 @@ fun Y.aaYExt(){} // ORDER: aaBaseFun // ORDER: aaExtensionProp // ORDER: aaExtensionFun +// ORDER: aazCommon // ORDER: aaAnyExtensionProp // ORDER: aaAnyExtensionFun // ORDER: aaGlobalProp