Complex unit dependencies lead to error 20231102 when specializing generics
Summary
System Information
- Operating system: N/A
- Processor architecture: N/A
- Compiler version: 3.3.1
- Device: N/A
Steps to reproduce
Compile program testdeps (or unit t) in attached zip gen-1.zip Compiler exited with access violation, already changed to internal error.
Note that the define SKIP_INTERNAL20231102 allows compilation to correctly finish.
Example Project
See attached zip. I was not able to reduce to less than 5 units.
What is the current bug behavior?
Compiler has internal error 20231102
What is the expected (correct) behavior?
Compiler compiles correctly (Delphi does)
Possible fixes
Do not use symtable of not yet unparsed unit