929d06c86f
#KT-8426 Fixed
15 lines
340 B
Kotlin
Vendored
15 lines
340 B
Kotlin
Vendored
// "Create property 'foo' as constructor parameter" "false"
|
|
// ACTION: Convert to expression body
|
|
// ACTION: Create local variable 'foo'
|
|
// ACTION: Create parameter 'foo'
|
|
// ACTION: Create property 'foo'
|
|
// ERROR: Unresolved reference: foo
|
|
|
|
class A {
|
|
object B {
|
|
fun test(): Int {
|
|
return <caret>foo
|
|
}
|
|
}
|
|
}
|