Generics type reference not found
Original Reporter info from Mantis: michael @mvancanneyt
-
Reporter name: Michael Van Canneyt
Original Reporter info from Mantis: michael @mvancanneyt
- Reporter name: Michael Van Canneyt
Description:
Delphi compiles attached source file, FPC does not. It fails to resolve the function definition:
Units.Eventer.pas(31,22) Error: Function header doesn't match any method of this class "RegisterDataEvent$1(TArgumentEventItem1
crcA9AAA8BA.TTEvent;T):LongInt;"
Units.Eventer.pas(23,14) Error: Found declaration: RegisterDataEvent$1(TArgumentEventItem1
crcFEC21D9F.TTEvent;T):LongInt;
Units.Eventer.pas(36) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode
Steps to reproduce:
Try to compile attached unit.
Mantis conversion info:
- Mantis ID: 38785
- Version: 3.2.2