I keep getting this error and I don't understand why.
error: delegating initializers in structs are not marked with 'convenience'
We should consider simplifying the diagnostic, say (strawman suggestion) "initializers in structs are not marked with 'convenience'".
We should also consider adding a fix-it which deletes the word 'convenience', so that even if the user doesn't understand the diagnostic, trying the fix-it does fix their issue.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: ba5134bb6bbac761973e61ff90803626
Issue Description:
This question on StackOverflow has 15 votes and the answer has 22 votes: https://stackoverflow.com/questions/44183770/delegating-initializers-in-structs-are-not-marked-with-convenience
We should consider simplifying the diagnostic, say (strawman suggestion) "initializers in structs are not marked with 'convenience'".
We should also consider adding a fix-it which deletes the word 'convenience', so that even if the user doesn't understand the diagnostic, trying the fix-it does fix their issue.
The text was updated successfully, but these errors were encountered: