Skip to content

[stdlib, 6.4.x] Add missing conformances to Ref and MutableRef#89262

Open
glessard wants to merge 3 commits into
swiftlang:release/6.4.xfrom
glessard:rdar177198190-ref-mutableref-conformances-6.4.x
Open

[stdlib, 6.4.x] Add missing conformances to Ref and MutableRef#89262
glessard wants to merge 3 commits into
swiftlang:release/6.4.xfrom
glessard:rdar177198190-ref-mutableref-conformances-6.4.x

Conversation

@glessard
Copy link
Copy Markdown
Contributor

@glessard glessard commented May 19, 2026

  • Explanation:
    SE-0519 introduced Ref and MutableRef, which are in essence a single-element version of Span and MutableSpan. They should have the same protocol conformances as Span and MutableSpan, and we add them here.
    The proposal was amended here, and accepted here.

  • Scope:
    Adds conformances to Ref and MutableRef for marker protocols (without ABI impact).

  • Issues:
    Addresses rdar://177198190

  • Original PRs:
    [stdlib] Add missing conformances to Ref and MutableRef #89188

  • Risk:
    Low. Allows strictly more code to compile, with no ABI impact.

  • Testing:
    Added tests for the conformances.

  • Reviewers:
    @Azoy

@glessard glessard requested a review from a team as a code owner May 19, 2026 18:13
@glessard glessard added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.4 labels May 19, 2026
@glessard
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@glessard glessard force-pushed the rdar177198190-ref-mutableref-conformances-6.4.x branch from ef632e7 to 277baa1 Compare May 19, 2026 21:15
@glessard
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

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

Labels

🍒 release cherry pick Flag: Release branch cherry picks swift 6.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant