Left-hand side of assignment sign in a function is missing a required element to be syntactically correct.
Ensure you use the correct syntax of identifier, colon sign, type, assignment operator, statement.