Re: [fpc-pascal] TypeInfo on generic templates

2020-10-29 Thread Sven Barth via fpc-pascal
Am 29.10.2020 um 19:27 schrieb Ryan Joseph via fpc-pascal: Is it possible that the TypeInfo intrinsic could work with generic template types or is this a bug? I get "Illegal qualifier" in the procedure below. generic procedure DoThis(a: array of T); begin writeln(TypeInfo(T)^.name); end; T

Re: [fpc-pascal] TypeInfo on generic templates

2020-10-29 Thread Ryan Joseph via fpc-pascal
> On Oct 29, 2020, at 12:27 PM, Ryan Joseph wrote: > > Is it possible that the TypeInfo intrinsic could work with generic template > types or is this a bug? I get "Illegal qualifier" in the procedure below. > > generic procedure DoThis(a: array of T); > begin > writeln(TypeInfo(T)^.name); >

Re: [fpc-pascal] TypeInfo on generic templates

2020-10-29 Thread Howard Page-Clark via fpc-pascal
On 29/10/2020 18:27, Ryan Joseph via fpc-pascal wrote: Is it possible that the TypeInfo intrinsic could work with generic template types or is this a bug? I get "Illegal qualifier" in the procedure below. generic procedure DoThis(a: array of T); begin writeln(TypeInfo(T)^.name); end; Regar

[fpc-pascal] TypeInfo on generic templates

2020-10-29 Thread Ryan Joseph via fpc-pascal
Is it possible that the TypeInfo intrinsic could work with generic template types or is this a bug? I get "Illegal qualifier" in the procedure below. generic procedure DoThis(a: array of T); begin writeln(TypeInfo(T)^.name); end; Regards, Ryan Joseph _

Re: [fpc-pascal] FPC 3.2fixes UTF8Decode strange place

2020-10-29 Thread Sven Barth via fpc-pascal
Michael Van Canneyt via fpc-pascal schrieb am Do., 29. Okt. 2020, 09:36: > > > On Thu, 29 Oct 2020, AlexeyT via fpc-pascal wrote: > > > So can you COMMENT that dead part with "and FALSE" and dead part II > > with "if ... =#10"? It will make things faster for people! > > It will make things faste

Re: [fpc-pascal] FPC 3.2fixes UTF8Decode strange place

2020-10-29 Thread Michael Van Canneyt via fpc-pascal
On Thu, 29 Oct 2020, AlexeyT via fpc-pascal wrote:  So can you COMMENT that dead part with "and FALSE" and dead part II with "if ... =#10"? It will make things faster for people! It will make things faster for people as well if you point at the right unit or mail on the right mailing list.

Re: [fpc-pascal] FPC 3.2fixes UTF8Decode strange place

2020-10-29 Thread AlexeyT via fpc-pascal
 So can you COMMENT that dead part with "and FALSE" and dead part II with "if ... =#10"? It will make things faster for people! Alexey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fp