Browse Source

pastojs: clean up

git-svn-id: trunk@48137 -
(cherry picked from commit 05d916a65227badd5385f5ac032a97dae8dfc20d)
Mattias Gaertner 4 years ago
parent
commit
288d440506
1 changed files with 0 additions and 6 deletions
  1. 0 6
      packages/pastojs/src/fppas2js.pp

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

@@ -26459,13 +26459,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