Browse Source

* 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 -
svenbarth 5 years ago
parent
commit
7757306c78
1 changed files with 1 additions and 2 deletions
  1. 1 2
      compiler/symsym.pas

+ 1 - 2
compiler/symsym.pas

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