3 ms·
We've had cases at work where the issue is that a void function (procedure) is converted to a "proper" function, and some return paths are missed. For our comp
by magicalhippo 5y ago
We've had cases at work where the issue is that a void function (procedure) is converted to a "proper" function, and some return paths are missed.
For our compiler, for certain types it fails to warn that the return variable is unassigned, hence bugs occur.
This is a statically typed language, it's just an unfortunate interaction between compiler magic and the code that checks for unassigned return variables.