> On Jan 2, 2019, at 8:25 PM, Alexander Shishkin via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> This is not consistent with constraints. Should be ";" after T.
> 
> And what about following examples?
> 

The semicolon is only needed following a generic parameter which is 
constrained. This was the normal behavior before constants were introduced.

generic TMyRecord1<T: TObject; const U: integer> = record


Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to