Commit 09db23f
Exclude infix applications from leaf-func-expr fallback in getAllCurriedArgsAtPosition
The rangeContainsPos fallback (for narrowed symbol-use ranges) was
matching infix operator applications like "a === b" where pos points
at the operator. This caused parameter name hints to appear for custom
operators used in infix position.
Fix: Gate the fallback on 'not isInfix' so it only applies to prefix
function applications (dotted accesses, qualified names), which was
the original intent.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5f1c3a4 commit 09db23f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
488 | 491 | | |
489 | 492 | | |
490 | 493 | | |
| |||
0 commit comments