A = "blah" atan2 5
is not recognized. Is type checking planned?
Updated by sbsmac about 5 years ago
By 'not recognised' you mean that it's not reported as an error? Yes, type-checking is planned for the next few days - just need to sort out some of the low-level token recognition then propapagate types up through the expression tree :-)
Updated by sbsmac almost 5 years ago
- Status changed from New to Feedback
Type-checking is now quite strong - all consts and operators are correctly type-checked. The remaining area of improvement is to trace variable types so that, for example, the following would be flagged..
... some time later
player setdir _x;
At the moment all variables are typed as 'any' to avoid spurious warnings.