<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Am Fr., 15. Feb. 2019, 21:54 hat Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Feb 15, 2019, at 2:11 PM, Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com" target="_blank" rel="noreferrer">ryan@thealchemistguild.com</a>> wrote:<br>
> <br>
> 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. :)<br>
<br>
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.<br>
<br>
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. :)<br></blockquote></div><div dir="auto"><br></div><div dir="auto">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). </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>