Skip to content

[Diag] QoI: Add ReferenceOwnership to DiagnosticArgumentKind #16058

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

davezarzycki
Copy link
Contributor

By formalizing ReferenceOwnership as a diagnostic argument kind, we get less boilerplate, better type safety, better output consistency, and last but not least: future proofing.

By formalizing ReferenceOwnership as a diagnostic argument kind, we get
less boilerplate, better type safety, better output consistency, and
last but not least: future proofing.
@davezarzycki davezarzycki requested review from graydon and huonw April 20, 2018 12:38
@davezarzycki
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@huonw huonw left a comment

Choose a reason for hiding this comment

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

DRY is always nice.

@davezarzycki davezarzycki merged commit 9a8a9d4 into swiftlang:master Apr 20, 2018
@davezarzycki davezarzycki deleted the qoi_formalize_ReferenceOwnership_diags branch April 20, 2018 15:02
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