Files
kotlin/idea/testData/quickfix/createFromUsage/createVariable/parameter/qualifiedInFun.kt
2015-10-20 18:39:47 +03:00

11 lines
271 B
Kotlin
Vendored

// "Create parameter 'foo'" "false"
// ACTION: Create extension property 'foo'
// ACTION: Create member property 'foo'
// ACTION: Create property 'foo' as constructor parameter
// ERROR: Unresolved reference: foo
class A
fun test(a: A) {
val t: Int = a.<caret>foo
}