[fpc-devel] Another "bug or feature" type alias

Ondrej Pokorny lazarus at kluug.net
Wed Nov 4 09:09:24 CET 2026


Am 03.11.2026 um 10:24 schrieb Martin Frb via fpc-devel:
> f := f2;
Delphi doesn't allow that:
[dcc32 Error] Project1.dpr(23): E2010 Incompatible types: 'TFoo' and 
'TFoo2'

Honestly, I haven't known the "type" keyword can be used for classes.

Ondrej



More information about the fpc-devel mailing list