Yeah, I agree with <@U092308M7>. It should just be...
# tornadofx
r
Yeah, I agree with @orangy. It should just be
(T) -> Iterable<T>?
. The only change to make this work would be to change the line
val children = childFactory.invoke(item)
to
val children = childFactory.invoke(item.value)
.