Skip to content

[Diag] Change function diagnostics to take a DeclName parameter #10745

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
Jul 6, 2017

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jul 1, 2017

The second commit changes several diagnostic parameters from Identifier or DeclBaseName to DeclName so that they provide richer error messages that include the function's parameters. @jrose-apple and me composed the list of diagnostics to change during a WWDC lab.

This provides richer error messages that include the function's
parameters
@ahoppen ahoppen requested a review from jrose-apple July 1, 2017 11:39
@ahoppen
Copy link
Member Author

ahoppen commented Jul 1, 2017

@swift-ci Please test

Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

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

Thanks, Alex!

@ahoppen ahoppen merged commit ff6747d into swiftlang:master Jul 6, 2017
@ahoppen ahoppen deleted the diagnostics-adjustments-declname branch July 12, 2017 14:12
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