[Chapel Merge] Remove unused code from function resolution

Branch: refs/heads/main
Revision: b93eb3e
Author: mppf
Link: Remove unused code from function resolution by mppf · Pull Request #18671 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18671 from mppf/resolution-cleanups

Remove unused code from function resolution

This PR removes some code from canParamCoerce that is not needed
( the case is handled by the code just above it).

  • [x] full local testing

Reviewed by @e-kayrakli - thanks!

Modified Files:
M compiler/resolution/functionResolution.cpp

Compare: https://github.com/chapel-lang/chapel/compare/7fb1bb9f639f...b93eb3eac4db