enhance missing value compiler error message
avoid creating unnecessary functions when using return keyword with statements and block_exps