Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/abstract/otherExplicitReceiver.kt
T
2018-10-27 12:13:42 +03:00

18 lines
399 B
Kotlin
Vendored

// "Create abstract property 'foo'" "false"
// ACTION: Create extension property 'B.foo'
// ACTION: Create member property 'B.foo'
// ACTION: Create property 'foo' as constructor parameter
// ACTION: Rename reference
// ACTION: Add 'b =' to argument
// ERROR: Unresolved reference: foo
abstract class A {
fun bar(b: Boolean) {}
fun test() {
bar(B().<caret>foo)
}
}
class B {
}