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

UIEdgeInsets.zero use crashes Xcode 10/Swift 4.2 compiler

    XMLWordPrintable

    Details

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

      macOS 10.14 and Xcode 10 initial betas

      Description

      UIEdgeInsets.zero crashes compiler. Replacing that with UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) allows the code to compile.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jrose Jordan Rose
                Reporter:
                dave256 Dave Reed
              • Votes:
                10 Vote for this issue
                Watchers:
                20 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: