You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Tony is currently working on a set of fixes for this; the problem is that NSCharacterSet is not really meant to be subclassed and the swift implementation of CharacterSet requires that. The problem isn't really from isSubset or isSuperset it is the backing of CFCharacterSet specifically has a set of issues for subclasses when they are created via strings. My guess is that most of these issues will be addressed by the refactor and we can also address the internal issues to CoreFoundation when appropriate.
Additional Detail from JIRA
md5: 5652e1e44878bec36b9837535a709276
Issue 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.
The text was updated successfully, but these errors were encountered: