瀏覽代碼

Avoid infinite recursion on generic classes for IDE browser

git-svn-id: trunk@26068 -
pierre 11 年之前
父節點
當前提交
2370669f86
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/browcol.pas

+ 2 - 0
compiler/browcol.pas

@@ -1673,6 +1673,8 @@ end;
                       Symbol^.Flags:=(Symbol^.Flags or sfObject);
                       if tobjectdef(typedef).objecttype=odt_class then
                         Symbol^.Flags:=(Symbol^.Flags or sfClass);
+                      if tobjectdef(typedef).objecttype=odt_class then
+                      if not(df_generic in typedef.defoptions) then
                       ProcessSymTable(Symbol,Symbol^.Items,tobjectdef(typedef).symtable);
                     end;
                   recorddef :