-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[interop] make interop diagnostics more consistent with the rest of S… #65043
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
@swift-ci please test |
@swift-ci please test source compatibility |
NOTE(record_is_dependent, none, "record '%0' is dependent", (StringRef)) | ||
NOTE(record_parent_unimportable, none, "record %0's parent is not importable", (StringRef)) | ||
NOTE(reference_passed_by_value, none, "function uses foreign reference type " | ||
"'%0' as a value in %1 types which breaks " | ||
"'swift_shared_reference' contract (outlined in " | ||
"C++ Interop User Manual).", | ||
"the C++ interoperability user manual)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something we really want to be pointing people at?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this reference to User manual. This would become stale once we have documentation elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, removing it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful improvements, thank you!
@swift-ci please test |
@swift-ci please test source compatibility |
@swift-ci please test macOS platform |
…wift diagnostics