Raise error if function is defined which sometimes returns a value and sometimes doesn't #464
Open
Description
Could we perhaps enhance the code reading functions to detect if they sometimes return nothing, and sometimes return a value? I can't think of any reason why a function like that would be sensible, on the other hand they can b a source of bugs.
Initially, this could be just a warning, but on the long run, it might become an error.