[SR-3665] Global functions called with an explicit namespace do not respect @discardableResult #46250
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
good first issue
Good for newcomers
Environment
Xcode 8.2.1
Additional Detail from JIRA
md5: 5badbbf9b6ed219edff146a5daa85af1
Issue Description:
The first call to bar() produces no warning, whereas the second does. Unless I'm forgetting something, the latter seems like a bug.
The text was updated successfully, but these errors were encountered: