when I do `if (o != null) o.something()` and get t...
# announcements
d
when I do
if (o != null) o.something()
and get the smartcast not possible error, what is the solution? I'm just adding a o!! instead but is that the correct way to resolve such errors?