summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/variable-void-type.slang
diff options
context:
space:
mode:
authorCopilot <198982749+Copilot@users.noreply.github.com>2025-07-22 09:03:05 -0700
committerGitHub <noreply@github.com>2025-07-22 09:03:05 -0700
commit0d26dbaad90f5eac604e148971d14e552bf9d5b8 (patch)
treec45813fdb1d613817fca5673b000097ac83c097e /tests/diagnostics/variable-void-type.slang
parentf25e5a89f00bcecacee4f09901d5cfdc1be341c6 (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/variable-void-type.slang')
0 files changed, 0 insertions, 0 deletions