瀏覽代碼

* 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 年之前
父節點
當前提交
598ac21791
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
                   srsym:=nil;
               end
+            else if (sym.typ=procsym) and
+                (tprocsym(sym).procdeflist.count>0) then
+              srsym:=sym
             else
               { dummy symbol is already not so dummy anymore }
               srsym:=nil;