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

CharacterSet.substracting crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Component/s: None
    • Labels:
      None

      Description

      In Swift 3 shipped with Xcode Version 8.0 beta 2 (8S162m), the following code crashes at runtime:

      CharacterSet.urlQueryAllowed.subtracting(CharacterSet())
      

      The crash also happens on master.

      I believe this is not intended behavior.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              duan Daniel Duan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: