[SR-14166] Compiler suggests a wrong insertion point for 'try'. #56545
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
Environment
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Target: x86_64-apple-darwin20.3.0
Additional Detail from JIRA
md5: d898744436bb988ab41cc5b6acabb33d
Issue Description:
As you can see in the following code, the compiler suggests to write 'try' on the right side of an operator even if it is a non-assignment one.
The text was updated successfully, but these errors were encountered: