Files
kotlin-fork/idea/testData/quickfix/variables/changeToPropertyAccess/propertyCallWithArguments.kt
T
Mikhail Glukhikh c084eefb65 Fix a bunch of IDE quick-fix tests (related to "convert to run/...")
These actions became available more often some days ago
2019-02-25 10:37:46 +03:00

10 lines
274 B
Kotlin
Vendored

// "Change to property access" "false"
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Expression 'fd' of type 'String' cannot be invoked as a function. The function 'invoke()' is not found
class A(val fd: String)
fun x() {
val y = A("").f<caret>d("")
}