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

Crashing with EXC_BAD_ACCESS after decoding Codable subclass

    XMLWordPrintable

    Details

      Description

      I am using little complicated nested json structure to parse it in my swift objects.

      I am subclassing a parent class and decoding json structure. When accessing a variable from the subclass object, it crashes with a EXC_BAD_ACCESS.

      Tried it with swift-4.1 toolchain. Crashes with 4.1 as well.

      Please check the attached zip project for the crash.

        Attachments

        1. CodableCrash.zip
          67 kB
        2. SR7090.zip
          18 kB

          Issue Links

            Activity

              People

              • Assignee:
                slavapestov Slava Pestov
                Reporter:
                rishabhtayal Rishabh Tayal
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: