On 22/04/2020 09:33, Jonas Maebe wrote: > 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've checked and tested, and it's indeed safe to remove the dependency on the typesym, so I have removed it. Jonas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel