summaryrefslogtreecommitdiffstats
path: root/docs/language-reference
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2025-08-03 23:35:08 -0400
committerGitHub <noreply@github.com>2025-08-03 20:35:08 -0700
commit34840bb69fd6b124e772535ffb3f223743870467 (patch)
treeaaeebd69517d41bd014e729465dcddec8f308fb4 /docs/language-reference
parent8a15efb37a33d3c2943be87a19cbf9b5e2e8432b (diff)
fix overload in extension issue (#7999)
close #7931. For a generic callable, we have two passes overload resolution, in first pass, we will resolve the generic by only checking the generic parameters, while in the second pass, we will resolve the function signature to resolve the overload. But in our candidate comparison logic, we pick a preferred generic even two generics are equally good. However, we should not make this decision in the first pass, because we don't know about the function arguments in this pass yet. So we just return OverloadEpxr2 in this case, and let the function overload resolution to break the tie.
Diffstat (limited to 'docs/language-reference')
0 files changed, 0 insertions, 0 deletions