<@U25U0KPFT> I think the difference is that in you...
# tornadofx
e
@carlw I think the difference is that in your example you have complete control of the API and can avoid it. Also, we don't do a blind cast like that in TornadoFX. You could do
(this as? Container)?.parts?.add( part )
to avoid the type cast issue.