It is posible to specialize non generic method
Original Reporter info from Mantis: imants_gulbis
-
Reporter name: Imants Gulbis
Original Reporter info from Mantis: imants_gulbis
- Reporter name: Imants Gulbis
Description:
I run into strange bug. I created generic method and after time I understood that I do not need it as generic and changed it to normal method. But code still compiled even If id did not remove specializations.
It looks like FPC do not check if method I try to specialize can be specialized. It brings code to undefined behavior because in some case it compiles and works, in some cases it compiles and skips method and in some cases linked throws some errors.
Mantis conversion info:
- Mantis ID: 36014
- Version: 3.3.1
- Fixed in version: 3.3.1