Skip to content

[4.2][4/30][String] Only bridge tagged NSStrings to small string form. #16345

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

Conversation

milseman
Copy link
Member

@milseman milseman commented May 3, 2018

Non-tagged NSStrings carry identity separate from their
value. Continue to bridge them lazily, even if they could fit in small
form, to respect this and avoid potential information loss.

Temporarily disable invariant that all natives strings that could be
small, are.

cherry-pick of #16320

rdar://problem/39837875

Non-tagged NSStrings carry identity separate from their
value. Continue to bridge them lazily, even if they could fit in small
form, to respect this and avoid potential information loss.

Temporarily disable invariant that all natives strings that could be
small, are.
@milseman
Copy link
Member Author

milseman commented May 3, 2018

@swift-ci please test

@milseman milseman requested a review from airspeedswift May 3, 2018 18:13
@milseman milseman changed the title [String] Only bridge tagged NSStrings to small string form. [4.2][4/30][String] Only bridge tagged NSStrings to small string form. May 3, 2018
@najacque najacque merged commit aadfb48 into swiftlang:swift-4.2-branch-04-30-2018 May 3, 2018
@milseman milseman deleted the 4_2_30_identity_crisis branch May 3, 2018 20:54
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.

3 participants