Skip to content

Conversation

@hborla
Copy link
Member

@hborla hborla commented Jul 23, 2024

Previous compiler versions allowed this, so we should stage the change in as a warning. This was already a warning across modules, so this change only impacts redundant conformances to marker protocols within a module. This code also isn't particularly harmful, because marker protocols don't have requirements, so there isn't the same risk of unexpected behavior as other redundant conformances.

…cols to

a warning.

Previous compiler versions allowed this, so we should stage the change in as
a warning. This was already a warning across modules, so this change only impacts
redundant conformances to marker protocols within a module. This code also isn't
particularly harmful, because marker protocols don't have requirements, so there
isn't the same risk of unexpected behavior as other redundant conformances.
@hborla hborla force-pushed the redundant-copyable branch from 141ee5a to 5eb16ad Compare July 23, 2024 21:08
@hborla
Copy link
Member Author

hborla commented Jul 23, 2024

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented Jul 23, 2024

@swift-ci please smoke test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants