[fpc-pascal] Duplicate identifier "$result"
Dwight Schauer
das at teegra.net
Sat Feb 25 06:01:13 CET 2023
On 2/24/23 22:37, Hairy Pixels via fpc-pascal wrote:
> I’m trying to build a project on Windows and I’m getting the error
> mentioned in the subject. It appears to be from a nested function in a
> generic class which is using the “result” keyword to assign the value.
> Is this a bug or do I need to enable some extra compiler flag on Windows?
It is a bug. (as far as I can tell)
https://gitlab.com/freepascal.org/fpc/source/-/issues/40104
> Here’s the compiler I’m using. Free Pascal Compiler version 3.3.1
> [2023/02/24] for i386
From that report:
Operating system: Linux, AlmaLinux 9.1, X86_64
Processor architecture: X86_64, 64 bit
Compiler version: 3.3.1-12327-gb997e413
Device: Computer
More information about the fpc-pascal
mailing list