00a78fce0c
Instead of manually checking nullability when reporing UNSAFE_CALL_ERROR just check if receiver type is subtype of receiver parameter Make it in two steps 1. Check subtype with respect to smart casts but ignoring nullability (if it's not satisfied -> ERROR) 2. Check subtype with respect to nullability and smartcasts (record latter if needed)