-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Mark UnicodeScalar.utf16 and UnicodeScalar.UTF16View as public #4929
[stdlib] Mark UnicodeScalar.utf16 and UnicodeScalar.UTF16View as public #4929
Conversation
Implements SR-2627
@swift-ci Please smoke test |
@swift-ci please smoke test |
@moiseev This is an API change, no? What is the policy around this? |
Thanks @gottesmm. This is indeed an API change and as such should go through the evolution. On the other hand, it can be considered a bug-fix. |
struct UTF16View { | ||
var value: UnicodeScalar | ||
public struct UTF16View { | ||
public var value: UnicodeScalar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This property should remain internal, actually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 4a6d368
@moiseev Sure thing! Better to kick it off on the mailing list or just by opening up a proposal on swift-evolution? |
Mailing list. If it ends up being considered a bug-fix, it might not even need a formal proposal. |
628b7c9
to
4a6d368
Compare
Kicked off the email on swift-evolution. Thanks! |
@swift-ci please smoke test |
@swift-ci Please smoke test and merge |
@swift-ci Please smoke test and merge |
Could you add some tests? |
[pull] swiftwasm from main
UnicodeScalar.utf16
andUnicodeScalar.UTF16View
do not have access modifiers and are thereforeinternal
. This marks them aspublic
.Resolves SR-2627.