I found the problem, for some reason the compiler ...
# tornadofx
a
I found the problem, for some reason the compiler resolved
ClassificationViewModel#uiMode
as
Property<UiMode>
instead of
ObjectProperty<UiMode>
, despite the IDE type hints clearly saying it is of type
ObjectProperty<UiMode>
and the whole thing sounding like an easy task for type inference. This also didn't happen with other properties of type
BooleanProperty<T>
for some reason. Specifying the type explicitly for
uiMode
solved the problem.
🎉 1