Hi,
FPC allows to type cast a class-of variable to a class instance. Is this a bug or a feature?
var
c: TClass;
begin
TObject(c).ClassName; // crash
end.Mattias

Mailing lists / fpc-pascal / 2017-02
3 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.