nested class method can't have parameter of master class
Original Reporter info from Mantis: Giel
-
Reporter name:
Original Reporter info from Mantis: Giel
- Reporter name:
Description:
This unit won't compile (yesterday's 2.5.1):
unit Unit1;
interface
implementation
type
TFoo1 = class
public
type
TFoo2 = object
procedure Proc(value: TFoo1); //Error: Type "TFoo1" is not completely defined
end;
end;
procedure TFoo1.TFoo2.Proc(value: TFoo1);
begin
end;
end.
Mantis conversion info:
- Mantis ID: 17986
- Fixed in version: 2.6.0
- Fixed in revision: 16440 (#8aef216f)
- Monitored by: » Hixie (Ian Hickson)