Skip to content

[5.9] Plugin should keep handling the conformance macro role #1891

New issue

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

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

Already on GitHub? Sign in to your account

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Jul 7, 2023

  • Explanation: New compilers will never send conformance as a role (only extension), but swift-syntax should keep handling them until support for older compilers has dropped.
  • Scope: Conformance expansions
  • Risk: Low
  • Testing: Tested swift-macro-examples with an old compiler and new swift-syntax.
  • Issue: rdar://111911487
  • Original PR: Plugin should keep handling the conformance macro role #1887

New compilers will never send conformance as a role (only extension),
but we should continue supporting conformance until support for those
has dropped.

Resolves rdar://111911487.

(cherry picked from commit e67a859)
@bnbarham bnbarham force-pushed the provide-extension-type-fallback-cherry branch from f36e802 to c7a803d Compare July 7, 2023 23:03
@bnbarham
Copy link
Contributor Author

bnbarham commented Jul 7, 2023

@swift-ci please test

@bnbarham
Copy link
Contributor Author

bnbarham commented Jul 8, 2023

@swift-ci please test windows platform

@bnbarham bnbarham merged commit 67c5007 into swiftlang:release/5.9 Jul 8, 2023
@bnbarham bnbarham deleted the provide-extension-type-fallback-cherry branch July 8, 2023 05:21
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