mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 19:02:05 +02:00
* Generate correct type name for procedural type arguments in thunk class
This commit is contained in:
parent
742158b678
commit
46e5903792
@ -1432,7 +1432,13 @@ implementation
|
||||
isAnonymousArrayDef:=false;
|
||||
if asPointer and (vardef.typ=formaldef) then
|
||||
exit('pointer');
|
||||
if not (vardef is tarraydef) then
|
||||
if (vardef is tprocvardef) then
|
||||
begin
|
||||
result:=vardef.fullownerhierarchyname(false);
|
||||
if Assigned(vardef.typesym) then
|
||||
Result:=Result+(vardef.typesym.Name);
|
||||
end
|
||||
else if not (vardef is tarraydef) then
|
||||
result:=vardef.fulltypename
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user