Issue internal error in def type is errordef

This commit is contained in:
Pierre Muller 2024-01-12 16:55:54 +01:00
parent af3ebf1464
commit 4c330f2799

View File

@ -924,6 +924,8 @@ implementation
{ same as above }
if tdef(s).defid=defid_registered_nost then
Internalerror(2015102501);
if tdef(s).typ=errordef then
Internalerror(2024011501);
if not tdef(s).registered then
tdef(s).register_def;
st:=FindUnitSymtable(tdef(s).owner);