> On Jun 1, 2021, at 12:56 PM, denisgolovan <denisgolo...@yandex.ru> wrote: > > That would limit supported types to class instances. > I'll like to avoid that. > Ideally TOption type should allow any type (primitives, strings, objects, > class instances, etc).
What are you trying to make that requires a variant record? I don't know what "TOption" is. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal