I believe that the ambiguity is with the constructor declared in TObject
that has identical parameters.
However, in modern versions of Delphi the code compiles. And I think that is right because the TObject
constructor is not marked with overload
. So this feels like a Delphi 5 compiler bug.