> On Jun 10, 2019, at 4:04 PM, Sven Barth via fpc-devel > <fpc-devel@lists.freepascal.org> wrote: > > Ehm... You are aware that you can simply use TRecord here? >
Yes but it’s lots of redundancy. It’s nice to have a type that says “the type of the structure”, the same as what “self” basically means but at the class level (compile time). TObject has ClassType but a compile time construct would be a nice companion. Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel