[fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

Sven Barth pascaldragon at googlemail.com
Wed Feb 24 17:26:45 CET 2016


Am 24.02.2016 16:44 schrieb "Mark Morgan Lloyd" <
markMLl.fpc-pascal at telemetry.co.uk>:
>
> Bo Berglund wrote:
>>
>> On Tue, 23 Feb 2016 23:58:37 +0100, Sven Barth
>> <pascaldragon at googlemail.com> wrote:
>>>
>>> What would really help here would be the warning that Jonas mentioned...
>>> For the above you could just use a local variable and be done with it.
No
>>> need to try to "fix" the with-statement.
>>
>>
>> I really fully agree!
>
>
> Perhaps a hint when a single WITH is used and a warning if they're
nested. After all, it /is/ a standard part of the language.

A warning when another identifier is shadowed might be more useful as Jonas
said. Cause then one could find all problematic identifiers and not just
all withs...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160224/73e4f508/attachment.html>


More information about the fpc-pascal mailing list