d08b18f5f8
Converted from the relevant intention Reported cases: one-liners, whens Also, more exact caret detection in local inspection tests
15 lines
330 B
Kotlin
Vendored
15 lines
330 B
Kotlin
Vendored
// "Create property 'foo' as constructor parameter" "false"
|
|
// ACTION: Create local variable 'foo'
|
|
// ACTION: Create parameter 'foo'
|
|
// ACTION: Create property 'foo'
|
|
// ACTION: Rename reference
|
|
// ERROR: Unresolved reference: foo
|
|
|
|
class A {
|
|
object B {
|
|
fun test(): Int {
|
|
return <caret>foo
|
|
}
|
|
}
|
|
}
|