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

[SR-12242] Apply to Arg involving ConstraintLocator::GenericArgument diagnostics improvement #30814

Conversation

LucianoPAlmeida
Copy link
Collaborator

Just improving diagnostics for Generic Mismatch involving argument conversion.

cc @xedin @hborla :)

Resolves SR-12242.

Copy link
Collaborator

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Nice!

lib/Sema/CSDiagnostics.cpp Outdated Show resolved Hide resolved
@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-12242-generic-arg-diag-improvement branch from b0c11b0 to 75b7b7b Compare April 5, 2020 06:04
@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-12242-generic-arg-diag-improvement branch from 75b7b7b to b255b09 Compare April 5, 2020 06:06
@LucianoPAlmeida
Copy link
Collaborator Author

Right, all set
I end up fixing assign here too since the PR is very small :)

@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-12242-generic-arg-diag-improvement branch 2 times, most recently from 36dc3f2 to 53ddf78 Compare April 5, 2020 16:44
@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-12242-generic-arg-diag-improvement branch 2 times, most recently from 1086e4c to 7e1bf4c Compare April 6, 2020 12:31
Copy link
Collaborator

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Looks great, thank you!

@hamishknight
Copy link
Collaborator

@swift-ci please test

@hamishknight
Copy link
Collaborator

@swift-ci please test Windows

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.

None yet

3 participants