Commit 9b1eca9
committed
fix(resolver): apply confidence filter to static receiver fallback in resolveByMethodOrGlobal
Every other lookup.byName() path in this function applies computeConfidence >= 0.5
before returning candidates. The direct static receiver fallback (added in #1395) was
the only exception, risking false-positive edges across distant directories. All same-
directory static calls (e.g. C# fixture) still resolve at confidence 0.7.
Closes #13981 parent 784951d commit 9b1eca9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| |||
0 commit comments