mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-06 02:27:48 +02:00
pastojs: clean up
This commit is contained in:
parent
30678055c2
commit
7e556c55f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user