Compilation raised exception internally
Original Reporter info from Mantis: petkos
-
Reporter name:
Original Reporter info from Mantis: petkos
- Reporter name:
Description:
Lazarus 1.9 Revision 56872
FPC 3.1.1 Revision 37881
Good day ,
fpc is unable to compile the attached example.
The project is a minimal version to create the error
build from onother project where WinOS and WinApi Units
have many function in contrast to the units in this example.
However that is good enough to confuse the compiler.
Please note:
- there is no error, if TTypeSet&LtPos;T> is replaced by a non generic class.
- there is no error, if you remove one or both references in 'uses' from implementaton section of BaseTypes.
I suppose that fpc should be able to compile the above example so i decided to report the problem.
Thank you
Steps to reproduce:
compile attached example
Mantis conversion info:
- Mantis ID: 32911
- OS: Windows
- OS Build: 7, 10
- Build: Revision 37881
- Platform: x64, x86
- Version: 3.1.1
- Monitored by: » @CuriousKit (J. Gareth Moreton)