Files
kotlin-fork/idea/testData/quickfix/increaseVisibility/invisibleFake/methodToNotProtected.kt
T

15 lines
260 B
Kotlin
Vendored

// "Make 'doSth' protected" "false"
// ACTION: Make 'doSth' public
// ACTION: Make 'doSth' internal
// ERROR: Cannot access 'doSth': it is private in 'A'
class A {
private fun doSth() {
}
}
class B {
fun bar() {
A().<caret>doSth()
}
}