mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
Converted from the relevant intention Reported cases: one-liners, whens Also, more exact caret detection in local inspection tests
16 lines
316 B
Kotlin
Vendored
16 lines
316 B
Kotlin
Vendored
// "Create abstract function 'foo'" "false"
|
|
// 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 {
|
|
|
|
} |