Files
kotlin-fork/idea/testData/completion/basic/VisibilityInSubclass.kt
T
Nikolay Krasko e4026c6465 - KT-1756 Filter invisible members from the first completion list
- Analyze is reference variant is suitable for completion before creating LookupElement
- Show visibility icon in completion list for kotlin declarations

 #KT-1756 fixed
2012-04-17 19:32:50 +04:00

16 lines
298 B
Kotlin

class Some() {
public val testPublic = 12
protected val testProtected = 12
private val testPrivate = 12
val testPackage = 12
}
class SomeSubclass : Some() {
fun test() {
<caret>
}
}
// TIME: 1
// EXIST: testPublic, testProtected, testPackage
// ABSENT: testPrivate