Jelajahi Sumber

* ensure that hmodule is initialized correctly

Sven/Sarah Barth 2 tahun lalu
induk
melakukan
f0e31628ad
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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