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
> 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);
>
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
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
_
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
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.
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