Re: [fpc-devel] Attn: Sven Can not use "specialize" to resolve forward declaration

2021-12-08 Thread Sven Barth via fpc-devel
Martin Frb via fpc-devel schrieb am Do., 9. Dez. 2021, 00:15: > https://gitlab.com/freepascal.org/fpc/source/-/issues/39459 > You wrote > >> No, this can not and this will never work. When a generic parameter has > a constraint that constraint *must* be adhered to and a forward > declaration is *

[fpc-devel] Attn: Sven Can not use "specialize" to resolve forward declaration

2021-12-08 Thread Martin Frb via fpc-devel
https://gitlab.com/freepascal.org/fpc/source/-/issues/39459 You wrote >> No, this can not and this will never work. When a generic parameter has a constraint that constraint /must/ be adhered to and a forward declaration is /not/ a valid type for such a constraint (except for *class* / |TObject