mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-28 17:02:40 +02:00
* use procdef.defid instead of procdef.procsym.symid to make local typed
constant names unique, since the symid is the same for overloads git-svn-id: branches/jvmbackend@18691 -
This commit is contained in:
parent
979f55e1db
commit
4363a0633e
@ -775,8 +775,8 @@ implementation
|
||||
begin
|
||||
if tdef(container.defowner).typ<>procdef then
|
||||
internalerror(2011040303);
|
||||
{ symid is added to prevent problem with overloads }
|
||||
result:=tprocdef(container.defowner).procsym.realname+'$$'+tostr(tprocdef(container.defowner).procsym.symid)+'$'+result;
|
||||
{ defid is added to prevent problem with overloads }
|
||||
result:=tprocdef(container.defowner).procsym.realname+'$$'+tostr(tprocdef(container.defowner).defid)+'$'+result;
|
||||
container:=container.defowner.owner;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user