Skip to content

[Diagnostics] Correct the insert location of missing return type fix-it. #38112

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
Jun 28, 2021

Conversation

hborla
Copy link
Member

@hborla hborla commented Jun 25, 2021

In ExtraneousReturnFailure, insert the return type fix-it after any effects specifiers like async, throws, rethrows, etc.

Resolves: rdar://79345188

@hborla hborla requested review from xedin and theblixguy June 25, 2021 21:27
after any effects specifiers like async, throws, rethrows, etc.
@hborla hborla force-pushed the return-type-fixit-loc branch from 7b738ff to e139c45 Compare June 28, 2021 16:49
@hborla
Copy link
Member Author

hborla commented Jun 28, 2021

@swift-ci please smoke test

@hborla hborla merged commit 89418c6 into swiftlang:main Jun 28, 2021
@hborla hborla deleted the return-type-fixit-loc branch June 28, 2021 23:29
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.

3 participants