Browse Source

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 9 years ago
parent
commit
4e14c292b0
1 changed files with 1 additions and 1 deletions
  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
                   (