mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
Converted from the relevant intention Reported cases: one-liners, whens Also, more exact caret detection in local inspection tests
11 lines
235 B
Kotlin
Vendored
11 lines
235 B
Kotlin
Vendored
// "Create abstract function 'foo'" "false"
|
|
// ACTION: Create function 'foo'
|
|
// ACTION: Rename reference
|
|
// ERROR: Unresolved reference: foo
|
|
class A {
|
|
fun bar(b: Boolean) {}
|
|
|
|
fun test() {
|
|
bar(<caret>foo(1, "2"))
|
|
}
|
|
} |