Closed
Description
FOR
After tokenising the assigned variable is of type VARIABLE
with FOR loops but shall be ASSIGN
:
Example:
FOR ${i} IN RANGE 10 # ${i} is: token.type == "VARIABLE"
Log ${i}
END
Here is an assignment happening as in:
${i} Set Variable 1
Therefore VARIABLE
would be considered "wrong" here.
TRY/EXCEPT
Similar situation is with EXCEPT AS variables. they are also VARIABLE
Example:
TRY
Fail failure message
EXCEPT AS ${error} # ${error} is: token.type == "VARIABLE"
Log my error ${error}
END
Should also be ASSIGN
after the AS
Cheers