[fpc-pascal] Variant part in objects?

Ryan Joseph genericptr at gmail.com
Sun Nov 24 15:18:56 CET 2019


Is there a reason that objects don't support variant sections like with records? Maybe they mess with the VMT table when virtual methods are added?

I just posted my "advanced objects" patch (https://bugs.freepascal.org/view.php?id=36350) and all it does is add "class operators" to objects but I was curious about the variant records because it appears to be the only other thing from records that aren't in objects. 

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list