Skip to content

[test] stdlib/StringTraps: Add some coverage for foreign traps in UTF-8/16 views #41613

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

Merged

Conversation

lorentey
Copy link
Member

@lorentey lorentey commented Mar 2, 2022

These trigger Objective-C exceptions in Foundation, but the fact these operations reliably trap when applied to foreign strings is part of the String contract in the stdlib, and we should have regression tests for them.

…-8/16 views

These trigger Objective-C exceptions in Foundation, but the fact these operations reliably trap when applied to foreign strings is part of the String contract in the stdlib, and we should have regression tests for them.
@lorentey
Copy link
Member Author

lorentey commented Mar 2, 2022

@swift-ci test

@lorentey lorentey merged commit 4678496 into swiftlang:main Mar 2, 2022
@lorentey lorentey deleted the string-encoding-views-index-validation branch March 2, 2022 07:28
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.

1 participant