Browse Source

* ensure that hmodule is initialized correctly

Sven/Sarah Barth 2 years ago
parent
commit
f0e31628ad
1 changed files with 1 additions and 0 deletions
  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