[SR-8277] Inappropriate error message is viewed when a wrong parameter is passed to a function and its result is passed to another function. #50808
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
Environment
OS: macOS, Ubuntu 16.04
Swift: 4.1.2, 4.2-dev
Additional Detail from JIRA
md5: e5b307623cd85333674994be0dcf489a
Issue Description:
There are two error messages when the following code is compiled. But the second one does not indicate the true nature of the problem.
[Code]
The text was updated successfully, but these errors were encountered: