What's your issue about?
Currently you can have a return type set on a function, yet omit the return statement. Add a exception when this happens forcing the programming to add a return, if specified.
e.g.
@public
def foo() -> num:
pass
How can it be fixed?
Off the top of my head, check parse_func.
Cute Animal Picture

What's your issue about?
Currently you can have a return type set on a function, yet omit the return statement. Add a exception when this happens forcing the programming to add a return, if specified.
e.g.
How can it be fixed?
Off the top of my head, check parse_func.
Cute Animal Picture