<Why does compiler showing me errors on my entire ...
# stackoverflow
u
Why does compiler showing me errors on my entire project after upgrading to 1.7.0 Kotlin version? In kotlin if we declare something nullable, then normally we use safe call ? but why AS compiler is giving error + suggestion to remove it? Code: private fun walletDataBinder(holder: WalletViewHolder?) { holder?.availableFundInfo?.visibility = View.GONE } I was using holder? and it was working fine, but now I upgraded to Kotlin 1.7.0 and it is giving me comoiler error saying that you should remove safe call [?] Why so?