Workaround for b/145491866

Check if the type is resolved before invoking CheckInvokeClassMismatch.

Test: test.py
Bug: 145491866
Bug: 73760543
Change-Id: I02714480cef2eece614ef487af60d257f070f46b
1 file changed