There is an inconsistency on how we record smartcasts in old and new inference, but we definitely should use all possible information about smartcasts in quick-fixes #KT-25144 Fixed