Replies: 1 comment 2 replies
-
I don't really see how the second message is any clearer. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, you plainly forget to add any return statement at all. This results in the error
which is correct but it sounds a bit cryptic. It sounds like there is some complicated code path that does not end in a return.
Would it be a good idea to detect when there is no return statement, and output a clearer message? Like this:
Beta Was this translation helpful? Give feedback.
All reactions