<div dir="ltr">Hi,<br><br>when "TypeInfo" is used for managed record, then RTTI data for those record is stored twice into executable file (useless). Should I report this as bug? Maybe is some reason for that behavior? Example code to generate extra RTTI bytes:<br><br>===<br><br>uses<br> typinfo;<br><br>type<br> TFoo = record<br> foo: string;<br> end;<br><br>var<br> f: TFoo;<br>begin<br> WriteLn(Integer(GetTypeData(TypeInfo(TFoo))));<br> WriteLn(f.foo);<br>end.<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div>