I am trying to inherit the following type, but the compiler says it is final.
class Dice(private var side : Int)
{
constructor(D : DiceTypesK) : this(D.value) {}
}
class ExplodedDice(private val D : DiceTypesK) : Dice(D)
// ^^^^ this class is final and
// can not be inherited from
Why my type is final, because I did not intend it to be?