so smartcasts works well only with local variables...
# announcements
c
so smartcasts works well only with local variables and class constructor val-parameters