On 7/30/25 11:44, Martin Frb via fpc-devel wrote:
On 29/07/2025 23:39, Sven Barth via fpc-devel wrote:

Please report a bug. Though this might end up not compiling nevertheless due to the specialization chain going ad infinitum...

https://gitlab.com/freepascal.org/fpc/source/-/issues/41349

It does not need to go ad infinitum.

It depends on the compiler implementation.

pas2js compiles it.
OTOH pas2js currently creates 3 internal specializations for each TFoo and TBar.

Mattias

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to