Files
kotlin/idea/testData/quickfix/modifiers/addOpenToClassDeclaration/openInCompanion.kt
2017-05-19 20:36:24 +03:00

13 lines
271 B
Kotlin
Vendored

// "Make 'MyClass' open" "false"
// ACTION: Make 'y' not open
// ACTION: Add 'const' modifier
// ACTION: Make internal
// ACTION: Make private
// ACTION: Specify type explicitly
// See KT-11003
class MyClass {
companion object {
<caret>open val y = 4
}
}