03.01.2019 4:29, Ryan Joseph пишет:

type
        generic TMyRecord_Int<T, const U:integer> = record
        end;


This is not consistent with constraints. Should be ";" after T.

And what about following examples?

type
        generic TMyRecord1<const T, const U> = record
        end;

type
        generic TMyRecord2<const T; const U> = record
        end;

type
        generic TMyRecord3<const T, U> = record
        end;

type
        generic TMyRecord4<const T; U> = record
        end;
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to