Extract Function: Add support of property-as-function calls
#KT-5179 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// PARAM_TYPES: A
|
||||
class A {
|
||||
fun invoke() = 20
|
||||
}
|
||||
// SIBLING:
|
||||
fun testProp() {
|
||||
val foo = A()
|
||||
<selection>foo()</selection>
|
||||
}
|
||||
Reference in New Issue
Block a user