diff --git a/compiler/nld.pas b/compiler/nld.pas index c6eab85ecf..7be26db2bc 100644 --- a/compiler/nld.pas +++ b/compiler/nld.pas @@ -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;