cnpack / cnvcl

CnPack VCL Components

Home Page:http://www.cnpack.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Code Formatter] inline var with anonymous method

Sorien opened this issue · comments

procedure foo();
begin
  while True do
  begin
    var List := Faa(Licence,
      function(Item: TData): TResult
      begin
        Result := crAdd;
      end);
  end;
end;

after

procedure foo();
begin
  while True do
  begin
    var List := Faa(Licence,
  function(Item: TData): TResult
  begin
    Result := crAdd;
  end);
  end;
end;

when you remove var formatting is ok

sorry wrong repo