amanda.hinchman-dominguez
03/06/2019, 4:51 AMjava.lang.ClassCastException: tornadofx.Scope cannot be cast to knote.tornadofx.model.NotebookScope
at knote.tornadofx.view.NotebookSpace.<init>
Czar
03/06/2019, 9:44 AMNotebookScope: Scope
then you're trying to cast parent to child, which can't work, as child is more specific and there are no garantees that parent will satisfy child spec. With casting you can only lower specificity, casting from child to parent, not the other way around.Olav Hermansen
03/06/2019, 11:43 AMsuper.scope as NotebookScope
to super.notebookScope as NotebookScope
?amanda.hinchman-dominguez
03/06/2019, 3:39 PMamanda.hinchman-dominguez
03/06/2019, 9:23 PM