[fpc-pascal] Funny bug with function result

Peter Vreman peter at freepascal.org
Sat Jan 8 01:35:27 CET 2005

> FYI. I know, assigning Result to Result on end of function is really not
> usefull (it is my error), but why FPC is confused from this action and
> returned result is bad?
> On Delphi is all OK if this line exists (and is removed by code
> optimalization)

Please submit a bug with example code to reproduce on the bugs repository
of fpc.

More information about the fpc-pascal mailing list