Re: [fpc-pascal] Variant part in objects?

2019-11-25 Thread Gerhard Scholz
quot;FPC-Pascal users discussions" Cc: "Ryan Joseph" Sent: Sunday, November 24, 2019 3:18 PM Subject: [fpc-pascal] Variant part in objects? Is there a reason that objects don't support variant sections like with records? Maybe they mess with the VMT table when virtual methods

[fpc-pascal] Variant part in objects?

2019-11-24 Thread Ryan Joseph via fpc-pascal
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