Prechádzať zdrojové kódy

* check hierarchy of the current generic or specialization def independant of whether it's a record- or objectdef

Sven/Sarah Barth 3 rokov pred
rodič
commit
ec96d4242a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      compiler/pgenutil.pas

+ 1 - 1
compiler/pgenutil.pas

@@ -1588,7 +1588,7 @@ uses
             i : longint;
           begin
             result:=nil;
-            while assigned(def) and (def.typ in [recorddef,objectdef]) do
+            while assigned(def) do
               begin
                 if (df_generic in def.defoptions) and (def=genericdef) then
                   begin