Hairy Pixels <generic...@gmail.com> schrieb am Mo., 20. Juni 2022, 03:38:
> NOTE: I’m replying to this and CC’ing Sven so hopefully he can see it. > > > On Jun 19, 2022, at 10:05 AM, Hairy Pixels <generic...@gmail.com> wrote: > > > > This code snippet will give a compiler error "Syntax error, ";" expected > but "(“ found”. It’s an unspecialized generic type so I would think it > should compile and only attempt to validate the parameters when the > function is specialized. > > > > generic procedure Perform<T>(func: T); > > begin > > func(1); > > end; > Please report a bug. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal