[SR-13757] Dictionary subscript(_:default:) summary is wrong and subscript(_) summary is weak. #56154
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
documentation
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 3a37feea68ce7ff1e559a3ba24a3bc5a
Issue Description:
The summary says:
This omits the fact that the key and the default are inserted if the key doesn't already exist. Also doesn't follow DevPubs' own guideline—replicated for the Swift API guidelines—that the summary should be a sentence fragment. Corrected phrasing:
This error has real consequences; it caused me to report SR-9870 as impossible rather than merely awkward, and I'm sure most other people would give up sooner than I did.
The text was updated successfully, but these errors were encountered: