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

Disallow unconstructible infinite value types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Labels:

      Description

      The type checker disallows value types with infinite storage, but not value types with indirected storage but which are still unconstructibly infinite. For example:

      enum E {
        indirect case X(E)
      }
      

        Attachments

          Activity

            People

            Assignee:
            anthonylatsis Anthony Latsis
            Reporter:
            jckarter Joe Groff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: