[SR-12705] Wrong diagnostic when method called with wrong argument labels on result of operator #55149
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
Additional Detail from JIRA
md5: 87e74907a6ae795bb6224a8366804a56
Issue Description:
The correct error is shown if the offsetting is extracted into a temporary: "incorrect argument label in call (have 'to:count:', expected 'to:capacity:')"
The text was updated successfully, but these errors were encountered: