This is needed to report more precise diagnostics and fix IDE-tests #KT-31059 Fixed
Expression will be checked against expected type later. Theoretically, this is not very good, but it aligns with the old inference, plus it helps avoiding multiple type mismatch diagnostics.
!WITH_NEW_INFERENCE
#KT-5828 In Progress