I picked up SR-2627 (https://bugs.swift.org/browse/SR-2627) from the Swift
JIRA project. The ticket states:
UnicodeScalar.utf16 does not have access modifier and therefore is internal
but should be public, as well as UnicodeScalar.UTF16View.
The ticket is written in a way that makes it seem as though this change would
match the behavior of APIs such as the UTF accessors on `String`.
Additionally, `UnicodeScalar.utf16` and `Unicodescalar.UTF16View` seem to be
created in `UnicodeScalar.swift`, but not used elsewhere, indicating that
these properties were intended to be exposed to developers as part of the
After submitting a pull request to implement this
(https://github.com/apple/swift/pull/4929, Maxim Moiseev and Michael Gottesman
mentioned that since this does modify the public API, a proposal should go
through swift-evolution to address this.
I wanted to kick off the discussion here and get feedback from the mailing
Looking forward to chatting about this!