Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Dec 13, 2025

This PR begins our migration to @section and @used. Because of a bug in the Swift compiler (swiftlang/swift#85411), we still need to rely on an unsupported/experimental language feature (CompileTimeValuesPreview). When that bug is resolved, we can remove checks for CompileTimeValuesPreview and fully "activate" this new code path.

This PR has the immediate effect of suppressing compile-time warnings when building Swift Testing as a package.

Note that because of that bug, this PR does not resolve 1371.

Checklist:

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

This PR begins our migration to `@section` and `@used`. Because of a bug in the Swift compiler (swiftlang/swift#85411), we still need to rely on an unsupported/experimental language feature (CompileTimeValuesPreview). When that bug is resolved, we can remove checks for CompileTimeValuesPreview and fully "activate" this new code path.

Note that because of that bug, this PR does _not_ resolve #1371.
@grynspan grynspan added this to the Swift 6.3.0 milestone Dec 13, 2025
@grynspan grynspan self-assigned this Dec 13, 2025
@grynspan grynspan added enhancement New feature or request workaround Workaround for an issue in another component (may need to revert later) discovery 🔎 test content discovery labels Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discovery 🔎 test content discovery enhancement New feature or request workaround Workaround for an issue in another component (may need to revert later)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants