Experimental GExperts Version 1.37-2012-11-11 released

 Delphi, GExperts  Comments Off on Experimental GExperts Version 1.37-2012-11-11 released
Nov 112012
 

This version fixes a serious bug in the previous release. It also improves support for generic class declarations.

All my existing unit tests work again, but I also found an issue with anonymous methods that I have not yet been able to fix.

If you find any issues, please send me a bug report and attach a source file that contains the formatting you expected. That file should be a compilable Delphi unit, not just a code snippet.

Head over to the Experimental GExperts page to download the new version.

 Posted by on 2012-11-11 at 21:07

GExperts formatter bug fixed, waiting for code sample which made the change necessary

 Delphi, GExperts  Comments Off on GExperts formatter bug fixed, waiting for code sample which made the change necessary
Nov 112012
 

Uli Gerhard found a bug which was introduced in the last version of GExperts. It resulted in code after class declarations in the implementation section to be formatted incorrectly:

unit SomeUnit;

interface

implementation

type
  TSomeClass = class
    constructor Create;
  end;

constructor TSomeClass.Create;
begin
end;

end.

During the formatting, the space between constructor and TSomeClass.Create was removed which resulted in uncompilable code.

I think I found and fixed the problem, but I am waiting for Jens Borrisholt to provide a code example that actually needed this code to be formatted correctly, so there will be no new release yet.

 Posted by on 2012-11-11 at 15:05