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

Enforce 16-bit limit for # of function parameters, # of tuple type element

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      Description

      Swift's ABI uses 16 bits to store the number of parameter types in a function type and the number of element types in a tuple type. We should enforce these limits in the parser, so they don't slip through and become crashes at later phases.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              DougGregor Doug Gregor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: