[fpc-pascal] specialize, identifier not found

Santiago A. svaa at ciberpiula.net
Wed Dec 16 16:11:54 CET 2015


Type
 TRegAlias=record
    ...
 end;
 
 TArrayAlias=specialize TArray<TRegAlias>; // <==== Error here   

defconexion.pas(71,14) Error: Identifier not found "specialize"
defconexion.pas(71,25) Error: Error in type definition
defconexion.pas(71,25) Fatal: Syntax error, ";" expected but "identifier
TARRAY" found


Why this error?
Why does the compiler try to look for a Identifier "specialize" instead
of interpreting it as a reserved word?

-- 
Saludos
Santiago A.




More information about the fpc-pascal mailing list