In section 9.1 (Assignments) we are told that:
In the example x := x + 1 above, x + 1 has type INTEGER and x has type BYTE. Therefor I suspect that the section needs to be amended with an exception saying that an expression of type BYTE can be assigned to a variable of type INTEGER and vice versa. What do you think?The type of the expression must be the same as that of the designator.