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 / webtbs / tw17952b.pp
Size: Mime:
program tw17952b;
{$mode delphi}

// check visibility of nested types in method headers

type
  TFoo1 = class
  public
    type
      TFoo2 = object
      end;
      TFoo3 = object
        procedure Proc(value: TFoo2);
      end;
  end;

  TFoo2 = Integer;

// delphi gives an error here. fpc does not.
// people thinks that this is a bug in delphi (QC# 89846)

procedure TFoo1.TFoo3.Proc(value: TFoo2);
begin
end;

begin
end.