[fpc-pascal] Constants in generics tests
Ryan Joseph
ryan at thealchemistguild.com
Fri Feb 15 21:54:07 CET 2019
> On Feb 15, 2019, at 2:11 PM, Ryan Joseph <ryan at thealchemistguild.com> wrote:
>
> Something with class functions in particular. Very strange it can’t find the declaration. So never mind about submitting, I need to fix this now. :)
I just looked over this and indeed I have no idea idea what happened. I suspect there’s some code not being called because the param is a constsym but I have no idea where that may be. It feels like the specialized class name is not matching when constants are in the specialized type.
A question for the compiler team: is there anything you could say about how forward def are resolved with class functions that may be different from normal functions? I would understand if this happened for all functions but it’s strange it only happens with class functions. Anything you could say to point me in the right direction so I don’t have to spend hours in the debugger. :)
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list