8056014: Type inference may be skipped for a complex receiver generic method in a parameter position

When checking if deferred attribution is needed for a chain of methods, stop on any method that returns any type variable, as the rest of analysis cannot use the correct type.

Reviewed-by: mcimadamore, vromero
2 files changed