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

[Sema] RuntimeMetadata: Make sure that inferred attributes have sourc… #62920

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jan 9, 2023

…e information

If an attribute is inferred from a protocol conformance it won't have
any source information, in such cases let's determine where an attribute
could have been inserted if it was spelled explicitly and use that location
in a synthesized initializer call.

Resolves: rdar://103938899

@xedin
Copy link
Contributor Author

xedin commented Jan 9, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jan 9, 2023

@swift-ci please build toolchain macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jan 9, 2023

@swift-ci please test

…e information

If an attribute is inferred from a protocol conformance it won't have any
source information, in such cases let's determine where an attribute could
have been inserted if it was spelled explicitly and use that location in
a synthesized initializer call.

Resolves: rdar://103938899
@xedin
Copy link
Contributor Author

xedin commented Jan 9, 2023

@swift-ci please test

@xedin xedin merged commit cc70677 into swiftlang:main Jan 10, 2023
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