21 lines
343 B
Plaintext
21 lines
343 B
Plaintext
open class A() {
|
|
open fun foo(value : Int) : Unit = println(value)
|
|
open val bar : Int = 0
|
|
}
|
|
|
|
class C : A() {
|
|
val constant = 42
|
|
// Some comment
|
|
override val bar: Int = 0
|
|
override fun foo(value: Int) {
|
|
super<A>.foo(value)
|
|
}
|
|
|
|
/*
|
|
Some another comment
|
|
*/
|
|
fun someAnotherFunction() {
|
|
|
|
}
|
|
}
|