I agree that a simple code like this:
proc p: int =
echo "test"
var x = p()
echo x
should issue a warning (like in Pascal). Error is fine, too (like in Java), since it's very seldom an intention to do so.
I agree that a simple code like this:
proc p: int =
echo "test"
var x = p()
echo x
should issue a warning (like in Pascal). Error is fine, too (like in Java), since it's very seldom an intention to do so.