[SR-1895] compilation warning for void result type #44504
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
Swift 3.0
Additional Detail from JIRA
md5: 256077fcd7fa34c0ecd899dc3c70f0c9
relates to:
Issue Description:
we have:
warning: result of call to 'map' is unused
s.map {print($0)}
Isn't it strange that result of call is Void, but we have a warning? Don't
we need to suppress warning in this case?
The text was updated successfully, but these errors were encountered: