Files
kotlin-fork/idea/idea-completion/testData/basic/common/fromUnresolvedNames/MemberProperty.kt
T
2016-01-20 13:55:56 +03:00

25 lines
422 B
Kotlin
Vendored

// RUN_HIGHLIGHTING_BEFORE
class C {
fun foo(p: Int) {
print(unresolvedInFoo)
}
val <caret>
fun bar(s: String, x: UnresolvedType) {
print(unresolvedInBar)
print(s.unresolvedWithReceiver)
}
}
fun f() {
print(unresolvedOutside)
}
// EXIST: unresolvedInFoo
// EXIST: unresolvedInBar
// ABSENT: unresolvedWithReceiver
// ABSENT: unresolvedOutside
// ABSENT: UnresolvedType