Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Dec 3, 2025

Now that the Equatable and Hashable conformances for GUID have landed in the 6.3 toolchain (see swiftlang/swift#84792), we can remove our wrapper workaround type.

For compatibility with the 6.2 toolchain, we emit retroactive conformances to these protocols when using a compiler < 6.3. These conformances aren't emitted as part of our toolchain build (CMake), only when building Swift Testing as a package on an older compiler. I'll remove the conformances when we drop 6.2 support.

This should have no other effects on the public-facing interface of the overlay.

Checklist:

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

Now that the `Equatable` and `Hashable` conformances for `GUID` have landed in the 6.3 toolchain, we can remove our wrapper workaround type. For the short term, we emit retroactive conformances to these protocols when using the 6.2 toolchain, but I'll remove those in short order.
@grynspan grynspan added this to the Swift 6.3.0 milestone Dec 3, 2025
@grynspan grynspan self-assigned this Dec 3, 2025
@grynspan grynspan added enhancement New feature or request windows 🪟 Windows support workaround Workaround for an issue in another component (may need to revert later) attachments/activities 🖇️ Work related to attachments and/or activities tech-debt 💾 reduces technical debt image-attachments 📸 Work related to image attachments labels Dec 3, 2025
@grynspan grynspan marked this pull request as ready for review December 3, 2025 17:57
@grynspan
Copy link
Contributor Author

grynspan commented Dec 4, 2025

We can also hold off on this until we stop automerging to 6.3 so that main is 6.4(?) and we don't provide 6.2 support anymore.

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

Labels

attachments/activities 🖇️ Work related to attachments and/or activities enhancement New feature or request image-attachments 📸 Work related to image attachments tech-debt 💾 reduces technical debt windows 🪟 Windows support 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