JCF needs to support class destructors
Original Reporter info from Mantis: CCRDude @ccrdude
-
Reporter name:
Original Reporter info from Mantis: CCRDude @ccrdude
- Reporter name:
Description:
When formatting units that have classes with class destructor, JCF stops due to them being unsupported.
A simple patch adding support for class destructors has been added.
Steps to reproduce:
Create this unit and try to format it with JCF.
>>>>>>>>>>>>>>>>
unit NewUnit2;
interface
type
TTestClass = class
public
class constructor Create;
class destructor Destroy;
end;
implementation
class constructor TTestClass.Create;
begin
end;
class destructor TTestClass.Destroy;
begin
end;
end.
Mantis conversion info:
- Mantis ID: 31749
- OS: Windows 10
- Platform: x64
- Version: 1.6.4
- Fixed in revision: r54825 (#fae13cca)
- Monitored by: » sallecta (Alexander Gribkov)