* destroying constnone constsyms can occur when parsing a generic with a constant parameter that results in an error (e.g. unsupported type)

git-svn-id: trunk@45088 -
This commit is contained in:
svenbarth 2020-04-26 11:46:06 +00:00
parent f5e89ded35
commit 7757306c78

View File

@ -2544,8 +2544,7 @@ implementation
destructor tconstsym.destroy;
begin
case consttyp of
constnone:
internalerror(2019050703);
constnone,
constord,
constpointer,
constnil: