Open swift-ci opened 8 years ago
"Synthesized initializers" covers more than just the default initializer; it also would include any designated initializers inherited from a parent. I suppose we could special-case the diagnostic for each situation, though.
Comment by Jay Buffington (JIRA)
When developers new to swift are encountered with this error the first instinct is to likely look up the term "synthesized initializers" in the book (or google it- which would hopefully direct them to the book). However, the book makes no mention of the phrase.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, DiagnosticsQoI | |Assignee | None | |Priority | Medium | md5: 1956d3a3ee2e5ca9643b40e9f5d947b5Issue Description:
Note that the error refers to "synthesized initializers" The canonical swift book refers to these as "Default Initializers"
Either the book or the compiler error message should be changed to consistently call these the same thing.