[fpc-devel] 019605: Safety check for "const s: string" (similar to Range or Overflow checks)
florian at freepascal.org
Thu Jun 23 22:37:57 CEST 2011
Am 23.06.2011 22:36, schrieb Martin:
>> procedure Foo(const s: string);
> I assume the below is supposed to be the hidden / automatic check?
> (since the above was the unwarranted change to s)
> But what does it test (besides from being an assignment?
This is only to demonstrate that checkpointer detects the error.
More information about the fpc-devel