Skip to content

Handle the combination of a write and a void return #18164

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
Sep 7, 2017

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented Aug 30, 2017

When the return type is void, there's no returnValueProperty, but that
doesn't mean we don't need a return at the call site.

Fixes #18140.

@msftclas
Copy link

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

When the return type is void, there's no `returnValueProperty`, but that
doesn't mean we don't need a `return` at the call site.

Fixes microsoft#18140.
@amcasey amcasey merged commit 02cfb81 into microsoft:master Sep 7, 2017
@amcasey amcasey deleted the GH18140 branch September 7, 2017 23:32
amcasey added a commit to amcasey/TypeScript that referenced this pull request Sep 16, 2017
Handle the combination of a write and a void return

(cherry picked from commit 02cfb81)
amcasey added a commit to amcasey/TypeScript that referenced this pull request Sep 18, 2017
Handle the combination of a write and a void return

(cherry picked from commit 02cfb81)
amcasey added a commit to amcasey/TypeScript that referenced this pull request Sep 20, 2017
Handle the combination of a write and a void return

(cherry picked from commit 02cfb81)
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants