[SR-2242] QoI: poor diagnostic when argument label is omitted #44849
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 5fc39c2b102d27d0dd480337f34cfad1
Issue Description:
We currently emit:
for the following, which isn't reasonable, because the real issue here is that argument label x: is missing. If you actually swap the arguments you get the exact same error.
The text was updated successfully, but these errors were encountered: