A nested class cannot inherit from a "strict protected" nested class in the ancestor of the outer class.
Original Reporter info from Mantis: SDN
-
Reporter name: SDN
Original Reporter info from Mantis: SDN
- Reporter name: SDN
Description:
The summary is confusing, but the issue can be easily illustrated with an example:
program Issue;
type
TBase = class
strict protected
type
TMyThing = class
end;
end;
TDescendant = class(TBase)
strict private
type
TMyExtendedThing = class(TBase.TMyThing) //<- Compiler error here: "Identifier not found".
end;
end;
begin
end.
Mantis conversion info:
- Mantis ID: 29332
- OS: Windows 10 Pro
- OS Build: 10.0.10586
- Platform: i386
- Version: 3.0.0