[swift-corelibs-dev] CharacterSet Issues

David Dunn ddunnibm at gmail.com
Wed Mar 29 04:50:39 CDT 2017


I noticed there's a lot of bugs within CharacterSet at the moment some of
which I've started to look at. In particular I've been looking at SR-3485
(CharacterSet.isSuperset(of:) returns wrong result on Linux), alongside
this I've noticed there's various others such as SR-3282, SR-3825 and
SR-2956 to name a few.

I've tracked the SR-3485 issue down into the CoreFoundation code and just
need to spend some time understanding what the C code is doing exactly and
why it's returning the incorrect value.

During my investigation into SR-3485 I stumbled upon SR-3311 where Philippe
Hausler mentioned Tony Parker was working on a set of fixes for the
CharacterSet issues, I found more information about this on a PR (#6044
<https://github.com/apple/swift/pull/6044>) against apple/swift, I also
found Tony's branch
<https://github.com/parkera/swift/tree/parkera/characterset_refactor> for
the refactor of CharacterSet. So firstly I was wondering if there has been
any update on this recently? And is this a planned fix for all of the
current issues in CharacterSet?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20170329/a813fca3/attachment.html>

More information about the swift-corelibs-dev mailing list