a1e86e8bfa
(cherry picked from commit a51d3fc)
17 lines
354 B
Kotlin
Vendored
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 {
|
|
|
|
} |