erroneous Incompatible types error
Original Reporter info from Mantis: yamer
-
Reporter name: Yann Mérignac
Original Reporter info from Mantis: yamer
- Reporter name: Yann Mérignac
Description:
fpc 2.7.1 (rev 27862) failed to compile 'ugenbug_001.pas' (uploaded).
ugenbug_001.pas(49,24) Error: Incompatible types: got "&LtPos;procedure variable type of function(const &LtPos;undefined type>):AnsiString of object;Register>" expected "TGenVector$1.&LtPos;procedure variable type of function(const &LtPos;undefined type>):AnsiString of object;Register>"
ugenbug_001.pas(55) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
This compiles perfectly with 2.6.4 and 2.6.2.
Mantis conversion info:
- Mantis ID: 26288
- OS: Linux
- OS Build: Slackware 14.1
- Build: rev 27862
- Platform: i386
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 27874 (#aca48a4c)
- Monitored by: » yamer (Yann Mérignac)