mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
Can be used for implementing interfaces / abstract classes / sealed classes or extending open classes
13 lines
230 B
Plaintext
Vendored
13 lines
230 B
Plaintext
Vendored
// "Create subclass" "true"
|
|
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
|
|
|
class Container {
|
|
private open class Base {
|
|
open var x: String = ""
|
|
|
|
open fun foo(): String = ""
|
|
}
|
|
|
|
private class BaseImpl : Base()
|
|
}
|