Skip to content
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

Replace conformance macros with extension macros #200

Merged
merged 8 commits into from
Nov 30, 2023

Conversation

amartini51
Copy link
Collaborator

Because SE-0389 and SE-0402 both landed during the beta period for Swift 5.9, conformance macros were removed from the FCS version — so we don't discuss them in the documentation. I expect to mention this in a revision history entry like:

Added information about extension macros in (cross reference). This content replaces discussion of conformance macros, which have been removed from the language.

Fixes: rdar://116429287

Copy link
Contributor

@chuckdude chuckdude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved; no changes. Thanks, Alex.

TSPL.docc/LanguageGuide/Macros.md Outdated Show resolved Hide resolved
TSPL.docc/LanguageGuide/Macros.md Outdated Show resolved Hide resolved
TSPL.docc/ReferenceManual/Attributes.md Show resolved Hide resolved
@amartini51
Copy link
Collaborator Author

@hborla I've incorporated your corrections and filled in a couple more restrictions (from re-reading the SE proposal again) on where you can use extension macros and what they can do. Can you take another look at this PR now?

TSPL.docc/LanguageGuide/Macros.md Outdated Show resolved Hide resolved
TSPL.docc/ReferenceManual/Attributes.md Outdated Show resolved Hide resolved
amartini51 and others added 3 commits November 30, 2023 11:31
Co-authored-by: Holly Borla <hborla@apple.com>
Co-authored-by: Holly Borla <hborla@apple.com>
Co-authored-by: Holly Borla <hborla@apple.com>
@amartini51 amartini51 merged commit e135b9e into apple:main Nov 30, 2023
@amartini51 amartini51 deleted the extension_macro_116429287 branch November 30, 2023 19:53
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.

None yet

4 participants