fix Issue 10171 - Unexpected error "cannot infer type from overloaded function symbol"
Merge pull request #2077 from 9rnsr/fix10171

Issue 10171 - Unexpected error "cannot infer type from overloaded function symbol"