[SR-14450] Filter argument labels by types of existing arguments #56806
Labels
code completion
Area → source tooling: code completion
improvement
source tooling
Area: IDE support, SourceKit, and other source tooling
Additional Detail from JIRA
md5: 6b7796ba9cf4eea385959a84e31eb109
Issue Description:
In the following example, we suggest both `b` and `c` as potential argument labels. However, only `b` should be suggested because the first parameter is an `Int` and thus the second definition of `foo` is not applicable.
Fixing this is non-trivial because it means that we’d need to type-check the incomplete expression when completing the argument labels, which we don’t do today.
The text was updated successfully, but these errors were encountered: