Generics classes + static fields crash build
Original Reporter info from Mantis: MageSlayer @MageSlayer
-
Reporter name: Denis Golovan
Original Reporter info from Mantis: MageSlayer @MageSlayer
- Reporter name: Denis Golovan
Description:
Hi
This ticket was made after investigation the issue reported in http://bugs.freepascal.org/view.php?id=21550
It appears that the problem is not in FPC, but in Lazarus.
More specifically it happens when debug information is generated.
The build process is stopped with an exception like following:
$080499D5
$0808D780 TFPHASHOBJECT__GETNAME, line 1696 of cclasses.pas
$081E96DD STRING_EVALUATE, line 284 of dbgstabs.pas
$081ED564 TDEBUGINFOSTABS__SYM_STABSTR_EVALUATE, line 1189 of dbgstabs.pas
$081ED8FC TDEBUGINFOSTABS__APPENDSYM_STATICVAR, line 1258 of dbgstabs.pas
$080EE9EA TDEBUGINFO__APPENDSYM, line 397 of dbgbase.pas
$081EE9DD TDEBUGINFOSTABS__INSERTTYPEINFO, line 1537 of dbgstabs.pas
$0819Froject1.lpr(16,26) Hint: Local type "TRowRenderMethodMeta" is not used
See attached example.
Mantis conversion info:
- Mantis ID: 21567