mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 07:47:59 +02:00
Issue internal error in def type is errordef
This commit is contained in:
parent
af3ebf1464
commit
4c330f2799
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user