Skip to content

Fix a merge conflict on main-next. #627

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Aug 21, 2024

This PR fixes a conflict between #610 and #619. #610 added a string cache to TypeInfo using ObjectIdentifier instances as keys. #619 added support for move-only types to TypeInfo. Due to rdar://134276458, move-only types cannot be used with ObjectIdentifier. This PR uses UInt instead until that issue can be resolved in a future stdlib update.

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 fixes a conflict between #610 and #619. #610 added a string cache to
`TypeInfo` using `ObjectIdentifier` instances as keys. #619 added support for
move-only types to `TypeInfo`. Due to rdar://134276458, move-only types cannot
be used with `ObjectIdentifier`. This PR uses `UInt` instead until that issue
can be resolved in a future stdlib update.
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan added the self-reviewed PR was self-reviewed by a code owner label Aug 21, 2024
@grynspan
Copy link
Contributor Author

Self-reviewing.

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 61d4df9 into main-next Aug 21, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/merge-conflict-2024-08-21 branch August 21, 2024 14:24
@grynspan grynspan added this to the Swift 6.1 milestone Sep 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug 🪲 Something isn't working self-reviewed PR was self-reviewed by a code owner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant