Files
kotlin-fork/idea/idea-completion/testData/smart/InaccessibleDeclarations.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

17 lines
328 B
Kotlin
Vendored

class A {
public val publicVal: Int = 1
protected val protectedVal: Int = 2
private val privateVal: Int = 3
public fun publicFun(): Int = 4
private fun privateFun() = 5
}
val p: Int = A().p<caret>
// EXIST: publicVal
// ABSENT: protectedVal
// ABSENT: privateVal
// EXIST: publicFun
// ABSENT: privateFun