Enforce function returns at compile time #2786
Closed
Vurv78
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One way to boost performance of E2 functions would be to enforce return values from functions.
Currently this code is valid, but would cause a runtime error.
This ideally would not compile, so that people can't accidentally forget return values from functions, and there's no overhead from checking if the function properly returned or not.
Beta Was this translation helpful? Give feedback.
All reactions