From 7757306c7885c915de6620ac62ff83cc7db96f1f Mon Sep 17 00:00:00 2001 From: svenbarth Date: Sun, 26 Apr 2020 11:46:06 +0000 Subject: [PATCH] * 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 - --- compiler/symsym.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/symsym.pas b/compiler/symsym.pas index ced5c4fc62..66674b21fa 100644 --- a/compiler/symsym.pas +++ b/compiler/symsym.pas @@ -2544,8 +2544,7 @@ implementation destructor tconstsym.destroy; begin case consttyp of - constnone: - internalerror(2019050703); + constnone, constord, constpointer, constnil: