[fpc-devel] A little something I've been working on...
Hairy Pixels
genericptr at gmail.com
Sun Feb 22 02:10:03 CET 2026
On Feb 21, 2026 at 12:19:10 AM, Martin Frb via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:
> E.g. currently
>
> procedure foo;
> var SeenByBar: byte;
> procedure Bar;
> begin {} end;
> var NOT_SeenByBar: byte;
> begin {} end;
>
> FPC currently does not include the info that the 2nd var is not in scope
> for Bar. There would afaik be several ways. So not a Dwarf problem.
>
Oh yes not having the captured variables for nested procedures is VERY
annoying and wastes lots of time. That's probably the biggest problem I
have but I don't think that has anything to do with DWARF, just the
compiler never implemented it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260221/e3abf686/attachment.htm>
More information about the fpc-devel
mailing list