> On Jun 8, 2023, at 12:58 AM, Steve Litt via fpc-pascal
> wrote:
>
> I know this isn't a very satisfying answer, but it's the best I can
> come up with.
Thanks but this is probably a question for the compiler devs. I'm curious if
it's intended, a bug or not implemented. Seems like an obvio
Hairy Pixels via fpc-pascal said on Wed, 7 Jun 2023 15:44:43 +0700
>I'm curious, why doesn't the following code give a warning? Shouldn't
>the compiler know you're assigning to "r" which hasn't been
>initialized yet?
>
>type
> TMyClass = class
> x: integer;
> end;
>
>proc
I'm curious, why doesn't the following code give a warning? Shouldn't the
compiler know you're assigning to "r" which hasn't been initialized yet?
type
TMyClass = class
x: integer;
end;
procedure MyProcedure;
var
r: TMyClass;
begin
r.x := 1;
end;
Hi all,
Sorry for the late notice. GoLUG's mailing list is down so I couldn't
get input on a topic earlier.
Tonight at 7:00 Eastern Daylight time, 6/7/2023, GoLUG is having an
online discussion of anything involving Free and Open Source
Software (FOSS). The meeting location is https://meet.jit.si