Create from Usage: Support "Create abstract function/property" inside an abstract class

#KT-7492 Fixed
(cherry picked from commit 75f6b7f)
This commit is contained in:
Alexey Sedunov
2016-06-27 12:05:10 +03:00
parent 3ba776fffa
commit 49b6811b44
24 changed files with 370 additions and 22 deletions
@@ -0,0 +1,12 @@
// "Create abstract function 'foo'" "false"
// ACTION: Convert to expression body
// ACTION: Create function 'foo'
// ACTION: Rename reference
// ERROR: Unresolved reference: foo
class A {
fun bar(b: Boolean) {}
fun test() {
bar(<caret>foo(1, "2"))
}
}