a1e86e8bfa
(cherry picked from commit a51d3fc)
16 lines
340 B
Kotlin
Vendored
16 lines
340 B
Kotlin
Vendored
// "Create member property 'foo' as constructor parameter" "false"
|
|
// ACTION: Create member property 'A.Companion.foo'
|
|
// ACTION: Create extension property 'A.Companion.foo'
|
|
// ACTION: Rename reference
|
|
// ERROR: Unresolved reference: foo
|
|
|
|
class A<T>(val n: T) {
|
|
companion object {
|
|
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.<caret>foo
|
|
}
|