Commit 045302b
committed
[CodeCompletion] Filter overloads if their function application doesn't contain the code completion token
When solving for code completion, we weren't disabling overloads because the call might be malfored in the presence of a code completion token (because the user is only now writing the function call). But this logic doesn't apply to function calls that don't even involve the code completion token, which happens if completing in result builders.
I am hoping that this significantly improves code completion performance inside result builders.1 parent 17ac201 commit 045302b
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10771 | 10771 | | |
10772 | 10772 | | |
10773 | 10773 | | |
10774 | | - | |
10775 | | - | |
| 10774 | + | |
| 10775 | + | |
| 10776 | + | |
| 10777 | + | |
| 10778 | + | |
| 10779 | + | |
10776 | 10780 | | |
10777 | 10781 | | |
10778 | 10782 | | |
| |||
0 commit comments