Return type not optional in parser; will generate error. It's not possible to have imperative function call as a result
Imperative calls kind of pointless because a function called in this form is essentially a nop (all current language features require a side effect or produce no usable side effects). Since there are no pointers, variables can't be changed in a function call nor are any print-like functions available to actually produce a result.
Possible outcome for fixing bug may be to force functional function prototypes in Calc 2. Would require spec to be changed
Return type not optional in parser; will generate error. It's not possible to have imperative function call as a result
Imperative calls kind of pointless because a function called in this form is essentially a nop (all current language features require a side effect or produce no usable side effects). Since there are no pointers, variables can't be changed in a function call nor are any print-like functions available to actually produce a result.
Possible outcome for fixing bug may be to force functional function prototypes in Calc 2. Would require spec to be changed