Skip to content

Add missing trait conformances #1784

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

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 14, 2023

These trait conformances were simply missing. Add them.

I added a validation rule to check that all nodes that can conform to a trait do so in #1748.

@ahoppen ahoppen requested a review from bnbarham June 14, 2023 14:54
@ahoppen
Copy link
Member Author

ahoppen commented Jun 14, 2023

@swift-ci Please test

These trait conformances were simply missing. Add them.
@ahoppen ahoppen force-pushed the ahoppen/missing-traits branch from 8a1192e to c46097b Compare June 14, 2023 16:20
@ahoppen ahoppen requested a review from DougGregor as a code owner June 14, 2023 16:20
@@ -1112,7 +1112,7 @@ final class MacroSystemTests: XCTestCase {
expandedSource: #"""
struct S {
@attr static var value1 = 1
@attr typealias A = B
@attr static typealias A = B
Copy link
Member Author

Choose a reason for hiding this comment

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

@rintaro I assume that the addition of static here is expected, right?

@ahoppen
Copy link
Member Author

ahoppen commented Jun 14, 2023

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Jun 14, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 208f111 into swiftlang:main Jun 15, 2023
@ahoppen ahoppen deleted the ahoppen/missing-traits branch June 15, 2023 05:06
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