Skip to content

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Sep 9, 2023

API additions (and tests) from SE-0405, namely:

String.init?<Encoding>(
    validating codeUnits: some Sequence<Encoding.CodeUnit>,
    as encoding: Encoding.Type
  ) where Encoding: Unicode.Encoding

String.init?<Encoding>(
    validating codeUnits: some Sequence<Int8>,
    as encoding: Encoding.Type
  ) where Encoding: Unicode.Encoding, Encoding.CodeUnit == UInt8

The API renaming will come in a separate PR.

rdar://114999766

@glessard
Copy link
Contributor Author

glessard commented Sep 9, 2023

@swift-ci please test

@glessard
Copy link
Contributor Author

glessard commented Sep 9, 2023

GitHub is failing to pick up a push to this branch. Weird.

@glessard glessard closed this Sep 9, 2023
@glessard
Copy link
Contributor Author

glessard commented Sep 9, 2023

Re-opened as #68419

@simanerush
Copy link
Member

simanerush commented Sep 9, 2023

@glessard I had this problem yesterday with my branch and I solved it but pushing an empty commit and then deleting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants