* copy and compare the typesym inside type nodes as well

git-svn-id: trunk@49062 -
This commit is contained in:
svenbarth 2021-03-27 09:34:59 +00:00
parent 2d255cec91
commit 067b9b2922

View File

@ -1372,6 +1372,7 @@ implementation
n:=ttypenode(inherited dogetcopy);
n.allowed:=allowed;
n.typedef:=typedef;
n.typesym:=typesym;
n.helperallowed:=helperallowed;
result:=n;
end;
@ -1382,6 +1383,7 @@ implementation
docompare :=
inherited docompare(p) and
(typedef=ttypenode(p).typedef) and
(typesym=ttypenode(p).typesym) and
(allowed=ttypenode(p).allowed) and
(helperallowed=ttypenode(p).helperallowed);
end;