mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 14:40:25 +02:00
* properly count references to overloaded operators (tests/tbs/tb0500.pp)
git-svn-id: trunk@3204 -
This commit is contained in:
parent
7d8aa405b1
commit
5e02b02d24
@ -474,7 +474,7 @@ implementation
|
|||||||
end;
|
end;
|
||||||
candidates.free;
|
candidates.free;
|
||||||
|
|
||||||
inc(operpd.procsym.refs);
|
addsymref(operpd.procsym);
|
||||||
|
|
||||||
{ the nil as symtable signs firstcalln that this is
|
{ the nil as symtable signs firstcalln that this is
|
||||||
an overloaded operator }
|
an overloaded operator }
|
||||||
@ -620,7 +620,7 @@ implementation
|
|||||||
end;
|
end;
|
||||||
candidates.free;
|
candidates.free;
|
||||||
|
|
||||||
inc(operpd.procsym.refs);
|
addsymref(operpd.procsym);
|
||||||
|
|
||||||
{ the nil as symtable signs firstcalln that this is
|
{ the nil as symtable signs firstcalln that this is
|
||||||
an overloaded operator }
|
an overloaded operator }
|
||||||
|
Loading…
Reference in New Issue
Block a user