The following code does not get formatted correctly:
type
TListOfList<T: TData; U: TDataList<T>> = class
procedure foo; overload; virtual;
procedure foo(i: Integer); overload virtual;
end;
An unwanted line feed is being added before "U: TDataList":
type
TListOfList<T: TData;
U: TDataList<T>> = class
procedure foo; overload; virtual;
procedure foo(i: Integer); overload virtual;
end;
Strictly speaking that's not a bug because it happens when "line breaks" -> "after semicolon (except directives)" is turned on. There is no directive, so the formatter does what it is configured to do. Bloody generics syntax!
Fixed in revision #3909