Files
kotlin-fork/idea/testData/quickfix/autoImports/ImportOperatorInvokeWithConvention.after.kt
T
Mikhail Zarechenskiy a33877a9b9 Fix add import quick fix for unresolved conventional invoke operator
After adding extension invoke on DeepRecursiveFunction in 1.4,
 the compiler start reporting another error and now it doesn't write
 info about callable descriptor. Therefore it's needed to use another
 source of info for expression type

 ^KT-40926 Fixed
2021-01-22 13:57:47 +03:00

12 lines
262 B
Kotlin
Vendored

// "Import" "true"
// WITH_RUNTIME
// ERROR: Expression 'topVal' of type 'SomeType' cannot be invoked as a function. The function 'invoke()' is not found
package mig
import another.invoke
import another.topVal
fun use() {
topVal<selection></selection>()
}