Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/funOnClassNoClassObject.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

11 lines
229 B
Kotlin
Vendored

// "Create member function 'foo'" "false"
// ACTION: Rename reference
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Unresolved reference: foo
class A<T>(val n: T)
fun test() {
val a: Int = A.<caret>foo(2)
}