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:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
// "Create abstract function 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create extension function 'foo'
|
||||
// ACTION: Create member function 'foo'
|
||||
// ACTION: Rename reference
|
||||
// ERROR: Unresolved reference: foo
|
||||
abstract class A {
|
||||
fun bar(b: Boolean) {}
|
||||
|
||||
fun test() {
|
||||
bar(B().<caret>foo(1, "2"))
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user