[SR-7841] Function returning associated type Never claims to be never executed #50377
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
Attachment: Download
Environment
Xcode 9.3 (9E145)
Additional Detail from JIRA
md5: fc23cb887efb2171f1b4a2a3c5f6442e
relates to:
Issue Description:
Consider the following code:
It produces the following warning:
And the following output, proving that the warning is bogus:
Screenshot from Xcode:
The text was updated successfully, but these errors were encountered: