|
|
Previous ID |
SR-4774 |
Radar |
None |
Original Reporter |
@itaiferber |
Type |
Task |
Status |
Resolved |
Resolution |
Done |
Additional Detail from JIRA
|
|
Votes |
0 |
Component/s |
Compiler |
Labels |
Task, DiagnosticsQoI |
Assignee |
@itaiferber |
Priority |
Medium |
md5: 43131a9e5203c4a71fe2b46ea515a93a
Issue Description:
Right now, when derivation of Encodable
/Decodable
fails, we get a generic diagnostic of type 'T' does not conform to protocol 'Decodable'
, complaining that we're missing init(from🙂
and encode(to🙂
. The TODO messages in lib/Sema/DerivedConformanceCodable.cpp
need to be addressed to provide diagnostics which explain what went wrong.