needsNewHints() was not returning true for different function type hints on the same line
Merge pull request #4153 from dloverin/fn-type-3885

Incorrectly using cached function type hint