Files
openide/plugins/kotlin/idea/tests/testData/quickfix/increaseVisibility/overriddenProtectedMemberToPublicSingleFile.k2.kt
Vladimir Dolzhenko f36778006d [kotlin] Align K2 test data file names
#KTIJ-29583

GitOrigin-RevId: 150fae6655bde2c4b7120edf2223c3112a4f2121
2024-07-13 18:32:27 +00:00

12 lines
405 B
Kotlin

// "Make 'x' public explicitly" "true"
open class Base(protected open val x: Int)
class First(override val x: Int) : Base(x)
class Second(f: First) {
val y = f.<caret>x
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.ChangeVisibilityFix$ChangeToPublicFix
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.k2.codeinsight.fixes.ChangeVisibilityFixFactories$ChangeToPublicModCommandAction