On 21/04/2020 22:56, Jonas Maebe wrote:
> What happens in that case, is
> 
> tclassalias ttypesym contains a reference to toriginalclass' tobjectdef,
> and that tobjectdef's typesym be to toriginalclass' typesym. And in the
> unit symtable holding that typesym, we will find the vmtdef we need
> (because it got created when toriginalclass was defined).

However, both toriginalclass tobjectdef and typesym are in the same
symtable, so it should still be okay, actually. I would have revert the
change and test/debug it again to find out why I thought this change was
necessary.

I guess you want to revert it because you want to create tobjectdefs
without a typesym?


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to