Browse Source

* if the generic dummy symbol is a procsym (with procdefs added) then this is the symbol that should be resolved to

git-svn-id: trunk@39232 -
svenbarth 7 năm trước cách đây
mục cha
commit
598ac21791
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      compiler/pgenutil.pas

+ 3 - 0
compiler/pgenutil.pas

@@ -1533,6 +1533,9 @@ uses
                 if not searchsym_with_flags(sym.name,srsym,srsymtable,[ssf_no_addsymref]) then
                 if not searchsym_with_flags(sym.name,srsym,srsymtable,[ssf_no_addsymref]) then
                   srsym:=nil;
                   srsym:=nil;
               end
               end
+            else if (sym.typ=procsym) and
+                (tprocsym(sym).procdeflist.count>0) then
+              srsym:=sym
             else
             else
               { dummy symbol is already not so dummy anymore }
               { dummy symbol is already not so dummy anymore }
               srsym:=nil;
               srsym:=nil;