7 lines
111 B
Plaintext
Vendored
7 lines
111 B
Plaintext
Vendored
>>> open class A(val result: String) {
|
|
... fun foo() = result
|
|
... }
|
|
>>> class B : A("OK")
|
|
>>> B().foo()
|
|
OK
|