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

CharacterSet empty set behaves incorrectly in isSubset() and isSuperset() and maybe others

    XMLWordPrintable

    Details

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

      Description

      CharacterSet mis-handles the empty set in isSubset() and isSuperset() and maybe others.

      PR #6000 tried to fix isSubset() and isSuperset() but ran into a bug, probably some other previously-existing bug (rdar://29474937). This bug report covers (1) re-fixing isSubset() and isSuperset() and (2) checking for other incorrect empty set behavior in the CharacterSet implementation.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gparker Greg Parker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: