[SR-9264] Unexpected compiler error message when block destructing tuple arguments has errors in body. #51741
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
Xcode 10.1 (10B61)
Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
Target: x86_64-apple-darwin18.0.0
Additional Detail from JIRA
md5: ba1f82350217714b539634b4f35fc769
Issue Description:
The following sample fails to compile as expected but generates the wrong error message.
Generates error on "(a, b)"
Expected error on `a+b`
The text was updated successfully, but these errors were encountered: