浏览代码

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 年之前
父节点
当前提交
4e14c292b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
                   (