mattias 4 лет назад
Родитель
Сommit
7e556c55f2
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      compiler/packages/pastojs/src/fppas2js.pp

+ 0 - 6
compiler/packages/pastojs/src/fppas2js.pp

@@ -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