fcl-js: clean up

This commit is contained in:
mattias 2022-02-12 22:33:27 +01:00
parent dfcbdd9aa6
commit 3b9035c946

View File

@ -140,7 +140,6 @@ Type
FResultType: TJSTypeDef;
FTypedParams: TJSTypedParams;
FGenericParams : TJSElementNodes;
procedure SetParams(const AValue: TStrings);
Public
Constructor Create;
Destructor Destroy; override;
@ -3575,14 +3574,6 @@ end;
{ TJSFuncDef }
procedure TJSFuncDef.SetParams(const AValue: TStrings);
begin
if FParams=AValue then exit;
FParams.Assign(AValue);
TStringList(FParams).OwnsObjects:=True;
end;
constructor TJSFuncDef.Create;
begin
FParams:=TStringList.Create;