Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
repl
/
classes
/
classInheritance.repl
blob: 5c954c4ee8cc1eb625aed07ef173a220934dce7d [
file
]
>>>
open
class
A
(
val result
:
String
)
{
...
fun foo
()
=
result
...
}
>>>
class
B
:
A
(
"OK"
)
>>>
B
().
foo
()
OK