Delphi-Quellcode:
type
TTestRec = record
constructor Create(const Key: string; const Value: TBytes); overload;
constructor Create(const Key: string; const Value: string); overload;
class function Create(Keys: array of string; Values: array of TBytes): TArray<TTestRec>; overload; static;
class function Create(Keys: array of string; Values: array of string): TArray<TTestRec>; overload; static;
end;
constructor TTestRec.Create(const Key: string; const Value: TBytes);
begin
end;
constructor TTestRec.Create(const Key, Value: string);
begin
end;
class function TTestRec.Create(Keys: array of string; Values: array of TBytes): TArray<TTestRec>;
begin
end;
class function TTestRec.Create(Keys, Values: array of string): TArray<TTestRec>;
var
Data: TArray<TBytes>;
begin
Result := Create(Keys, Data); // [dcc32 Fehler] E2382 Konstruktoren können mit Instanzenvariablen nicht aufgerufen werden
//Result := TTestRec.Create(Keys, Data);
end;
Ich befürchte langsam, falls das QualityPortal in 18 Monaten wieder online ist,
dass sofort der Server wieder einbrechen wird, auf Grund der schlagartig einlaufenden Millionen BugReports.
Ein Therapeut entspricht 1024 Gigapeut.