[SR-1695] Option Set insert needs @discardableResult #44304
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
good first issue
Good for newcomers
standard library
Area: Standard library umbrella
Environment
Toolchain: Swift Development Snapshot 2016-06-06 (a)
Additional Detail from JIRA
md5: c9cc182d6fd937535f17524a6f0624bf
Issue Description:
This warns of an unused result:
It shouldn't. NSSet
insert
is completely parallel but doesn't warn. Looks like we need@discardableResult
here.The text was updated successfully, but these errors were encountered: