Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2022-05

Regression in error message with implicit function specialization?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hairy Pixels

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

Reply by email