From f0e31628ad7d584507612b2d7c4ea017532cea78 Mon Sep 17 00:00:00 2001 From: Sven/Sarah Barth Date: Sat, 29 Oct 2022 12:15:59 +0200 Subject: [PATCH] * ensure that hmodule is initialized correctly --- compiler/pgenutil.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/pgenutil.pas b/compiler/pgenutil.pas index 6275b59081..fd37efe3bd 100644 --- a/compiler/pgenutil.pas +++ b/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