Yes, I had an internal error and now I know why - I used specialization in function params. This gives internal error:
procedure asdasd(something: specialize TTwoValuesList<UnicodeString>);
begin
end;

I'll make a bug report tomorow or a day after.

And yes, I think a descriptive message saying to use typed specialization would be nice for those using generics first time.


Regards,
Zilvinas



Tomas Hajny wrote:
On Wed, October 7, 2009 18:47, Micha Nelissen wrote:
Tomas Hajny wrote:
Well, the internal error is in any case a bug, so if this appears also
with the latest (trunk) version, a bug report would be useful.
I didn't see an internal error? But a more descriptive message would be
useful ('specialization not allowed in this context' or so?).

The original post mentioned "Fatal: Internal error 200204175".

Tomas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to