Skip to content
Discussion options

You must be logged in to vote

It isn't the right behavior since a non-returning method won't return control to the caller.

There is no guarantee of this, as the compiler does not enforce that this method actually does not return. For this, we'd need something like #538.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3079 on November 16, 2020 13:10.