
+2
False Positive warning to "O801"
procedure ProcB(var AText: string);
begin
AText := AText + AText;
end;
procedure ProcA(A: string); <-- False positive warning. Cannot declare const, because i pass to ProcB as var param!
begin
ProcB(A); <- var parameter!!!
...
...
end;
Customer support service by UserEcho
Yes, I wanted to report this one as well.
I came upon two cases: