The language report states in section 5.9:
Furthermore, a reference variable is dereferentiated implicitly,
• if it is the actual parameter of a procedure call, and if the formal parameter belonging to it is no reference variable.
• if it is used as operand of a dyadic operator, as far as the latter is not defined for values of reference variables like IS (see below).
This should also occur with monadic operators, except SIZEOF.
SIZEOF of a STRUCT containing a REF counts the size of the REF and not of the object. An implicit dereference would create confusion.
This ticket effects:
Anonymous
Diff:
Discussion in Boippard:
agreed