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

Invalid usage of NoReturn #105

Merged
merged 1 commit into from
Aug 11, 2021
Merged

Invalid usage of NoReturn #105

merged 1 commit into from
Aug 11, 2021

Conversation

tonybaloney
Copy link
Contributor

The NoReturn annotation means that the program will exit, but its being used in place of None, which is what you should use if the function doesn't return a value.

@leestott leestott merged commit 10f15a8 into microsoft:main Aug 11, 2021
@tonybaloney tonybaloney deleted the no_return branch August 11, 2021 23:25
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