浏览代码

* ensure that hmodule is initialized correctly

Sven/Sarah Barth 2 年之前
父节点
当前提交
f0e31628ad
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/pgenutil.pas

+ 1 - 0
compiler/pgenutil.pas

@@ -1708,6 +1708,7 @@ uses
         result:=nil;
 
         pd:=nil;
+        hmodule:=nil;
 
         if not check_generic_constraints(genericdef,context.paramlist,context.poslist) then
           begin