Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/otherExplicitReceiver.kt
T
2016-07-20 15:39:19 +03:00

17 lines
354 B
Kotlin
Vendored

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