pastojs: clean up

This commit is contained in:
mattias 2021-01-11 22:04:08 +00:00
parent 30678055c2
commit 7e556c55f2

View File

@ -26396,13 +26396,7 @@ begin
or (C=TPasClassDestructor) then
AddGlobalClassMethod(FuncContext,TPasProcedure(P))
else
begin
Methods.Add(P);
if (C=TPasConstructor)
or ((aResolver<>nil) and aResolver.IsClassMethod(P)
and not aResolver.MethodIsStatic(TPasProcedure(P))) then
; //IsComplex:=true; // needs $record
end;
end
else if C=TPasAttributes then
else