[fpc-devel] Regression in error message with implicit function specialization?

Hairy Pixels genericptr at gmail.com
Thu May 5 04:45:18 CEST 2022


Before if you tried to use a generic function without specialization you would get this error:

	Generics without specialization cannot be used as a type for a variable

Now since adding implicit function specialization I get this error:

	Wrong number of parameters specified for call

Is this a regression or intentional? I think the original message made more sense and it’s possible I could have broken it, although I’m not sure if this was changed by Sven.

Regards,
	Ryan Joseph



More information about the fpc-devel mailing list