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

Simple, legit literal takes exponentially growing compile time.

    XMLWordPrintable

    Details

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

      Description

      Run swiftc -dump-ast on this file, the compilation will never finish. Removing values gradually from the array and you'll notice that the shorter the expression, the less time it takes.

      long.swift

        Attachments

          Activity

            People

            • Assignee:
              jpamer Joe Pamer
              Reporter:
              duan Daniel Duan
            • Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: