* Refer to bugreport for internal error 20231102

This commit is contained in:
Michaël Van Canneyt 2023-11-06 11:25:19 +01:00
parent 3f1d62af8e
commit ade7af5234

View File

@ -2757,6 +2757,8 @@ uses
MVC: The case where localsymtable is also nil can appear in complex cases and still produce valid code.
In order to allow people in this case to continue, SKIP_INTERNAL20231102 can be defined.
Default behaviour is to raise an internal error.
See also
https://gitlab.com/freepascal.org/fpc/source/-/issues/40502
}
{$IFDEF SKIP_INTERNAL20231102}
if (pu.u.localsymtable<>Nil) then