Join Slack
Powered by
<@U25U0KPFT> I think the difference is that in you...
# tornadofx
e
edvin
03/28/2017, 3:16 PM
@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.
Open in Slack
Previous
Next