Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt
T

17 lines
349 B
Kotlin
Vendored

// "Create abstract function 'foo'" "false"
// ACTION: Create extension function 'B.foo'
// ACTION: Create member function 'B.foo'
// ACTION: Rename reference
// ACTION: Add 'b =' to argument
// ERROR: Unresolved reference: foo
abstract class A {
fun bar(b: Boolean) {}
fun test() {
bar(B().<caret>foo(1, "2"))
}
}
class B {
}