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:
+12
@@ -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"))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user