Explorar o código

* ensure that hmodule is initialized correctly

Sven/Sarah Barth %!s(int64=2) %!d(string=hai) anos
pai
achega
f0e31628ad
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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