Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / test / tchlp58.pp
Size: Mime:
{ %NORUN }

{ This tests that methods introduced by a helper can be found in 
  with-Statements as well - Case 4: class method in parent's helper }
program tchlp58;

{$mode objfpc}

type
  TObjectHelper = class helper for TObject
    class procedure Test;
  end;

  TTest = class
  end;

class procedure TObjectHelper.Test;
begin
end;

begin
  with TTest do
    Test;
end.