diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2025-07-22 09:03:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 09:03:05 -0700 |
| commit | 0d26dbaad90f5eac604e148971d14e552bf9d5b8 (patch) | |
| tree | c45813fdb1d613817fca5673b000097ac83c097e /tests/diagnostics | |
| parent | f25e5a89f00bcecacee4f09901d5cfdc1be341c6 (diff) | |
Fix findFunctionByNameInType to preserve functions with different signatures (#7827)
findFunctionByNameInType was only returning one function when multiple functions existed with the same name but different signatures. This broke reflection functionality for extension methods.
Fix the issue by changing findDeclFromStringInType by not calling maybeResolveOverloadedExpr if checkedTerm is overloaded functions. We still call maybeResolveOverloadedExpr when any candidates in the overloaded list is not DeclRefExpr referencing a function.
Diffstat (limited to 'tests/diagnostics')
0 files changed, 0 insertions, 0 deletions
