Create from Usage: Fix choosing superclass for abstract member

This applies to cases when non-existing member is called without
explicit receiver

 #KT-21332 Fixed
This commit is contained in:
Alexey Sedunov
2017-11-21 17:39:54 +03:00
parent 7e3ca4734d
commit 84c6f9bf45
9 changed files with 104 additions and 15 deletions
@@ -0,0 +1,12 @@
// "Create abstract function 'Foo.bar'" "false"
// ACTION: Create function 'bar'
// ACTION: Rename reference
// ERROR: Unresolved reference: bar
open class A
class Foo : A() {
fun foo() {
<caret>bar()
}
}