Open
Description
Describe the bug
If I have a pointer with one level of indirection and try to dereference it twice, the compilation ends in a panic in inkwell.
To Reproduce
FUNCTION main : DINT
VAR
ref: REF_TO INT;
END_VAR
ref^^; // invalid double deref on pointer
END_FUNCTION
Expected behavior
A diagnostic that a double deref is invalid in this case.