[fpc-pascal] specialize, identifier not found

Sven Barth pascaldragon at googlemail.com
Wed Dec 16 17:25:50 CET 2015


Am 16.12.2015 16:12 schrieb "Santiago A." <svaa at ciberpiula.net>:
>
> 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?

Which FPC version? Which language mode?

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151216/38cef062/attachment.html>


More information about the fpc-pascal mailing list