Skip to content

Extend CustomTestStringConvertible to ~Copyable and ~Escapable values.#1492

Open
grynspan wants to merge 5 commits intomainfrom
jgrynspan/custom-test-string-convertible-suppressed-protocols
Open

Extend CustomTestStringConvertible to ~Copyable and ~Escapable values.#1492
grynspan wants to merge 5 commits intomainfrom
jgrynspan/custom-test-string-convertible-suppressed-protocols

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Jan 21, 2026

This PR extends CustomTestStringConvertible to cover values with suppressed conformances, and extends string interpolation for Comment similarly.

See also SE-0499 for where CustomStringConvertible was extended in this fashion.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…values.

This PR extends `CustomTestStringConvertible` to cover values with suppressed
conformances, and extends string interpolation for `Comment` similarly.

See also [SE-0499](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0499-support-non-copyable-simple-protocols.md)
for where `CustomStringConvertible` was extended in this fashion.
@grynspan grynspan added this to the Swift 6.3.0 milestone Jan 21, 2026
@grynspan grynspan self-assigned this Jan 21, 2026
@grynspan grynspan added the public-api Affects public API label Jan 21, 2026
@grynspan grynspan requested a review from jerryjrchen as a code owner January 21, 2026 04:01
@grynspan grynspan added issue-handling Related to Issue handling within the testing library command-line experience ⌨️ enhancements to the command line interface traits Issues and PRs related to the trait subsystem or built-in traits parameterized-testing Related to parameterized testing functionality labels Jan 21, 2026
@grynspan
Copy link
Contributor Author

Needs adjustments to work with the various string protocols.

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

Labels

command-line experience ⌨️ enhancements to the command line interface issue-handling Related to Issue handling within the testing library parameterized-testing Related to parameterized testing functionality public-api Affects public API traits Issues and PRs related to the trait subsystem or built-in traits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant