Am Fr., 15. Feb. 2019, 21:54 hat Ryan Joseph <r...@thealchemistguild.com> geschrieben:
> > > > On Feb 15, 2019, at 2:11 PM, Ryan Joseph <r...@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. :) > It could be that the method body is not generated. Look for generate_specialization_procs in pgenutil as that is what generates the bodies at the end of a unit (simplified). Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal