Re: [fpc-pascal] Duplicate identifier "$result"

2023-02-24 Thread Hairy Pixels via fpc-pascal
> On Feb 25, 2023, at 12:01 PM, Dwight Schauer via fpc-pascal > wrote: > > It is a bug. (as far as I can tell) > > https://gitlab.com/freepascal.org/fpc/source/-/issues/40104 Yeah that’s the same one, thanks. Doesn’t happen on macOS though which is interesting and it doesn’t happen in all i

Re: [fpc-pascal] Duplicate identifier "$result"

2023-02-24 Thread Dwight Schauer via fpc-pascal
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 en

[fpc-pascal] Duplicate identifier "$result"

2023-02-24 Thread Hairy Pixels via fpc-pascal
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? Here’s the c