Uploaded image for project: 'Swift'
  1. Swift
  2. SR-7245

Cannot automatically synthesize 'Encodable' because 'Encodable' does not conform to 'Encodable'

    XMLWordPrintable

    Details

      Description

      The following snippet produces this "weird" error.

      struct Foo: Encodable {
          let encodable: Encodable
      }
      

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aciid Ankit Aggarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: