mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-27 13:00:11 +02:00
pastojs: clean up
This commit is contained in:
parent
30678055c2
commit
7e556c55f2
@ -26396,13 +26396,7 @@ begin
|
|||||||
or (C=TPasClassDestructor) then
|
or (C=TPasClassDestructor) then
|
||||||
AddGlobalClassMethod(FuncContext,TPasProcedure(P))
|
AddGlobalClassMethod(FuncContext,TPasProcedure(P))
|
||||||
else
|
else
|
||||||
begin
|
|
||||||
Methods.Add(P);
|
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
|
end
|
||||||
else if C=TPasAttributes then
|
else if C=TPasAttributes then
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user