Procházet zdrojové kódy

fixed a the check for pd.owner being assigned before defererencing it. this fixes a reproduceable compiler crash I ran into recently

git-svn-id: trunk@32965 -
Károly Balogh před 9 roky
rodič
revize
4e14c292b0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/htypechk.pas

+ 1 - 1
compiler/htypechk.pas

@@ -2473,7 +2473,7 @@ implementation
                 ) or
                 (
                   (
-                    not pd.is_specialization or
+                    not pd.is_specialization and
                     assigned(pd.owner)
                   ) and
                   (