Browse Source

pastojs: fixed call type helper on type helper read from pcu

mattias 3 years ago
parent
commit
da0260262d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/pastojs/src/fppas2js.pp

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

@@ -21823,8 +21823,6 @@ var
     else
     else
       begin
       begin
       ProcScope:=Proc.CustomData as TPas2JSProcedureScope;
       ProcScope:=Proc.CustomData as TPas2JSProcedureScope;
-      if ProcScope.ImplProc<>nil then
-        ProcScope:=ProcScope.ImplProc.CustomData as TPas2JSProcedureScope;
       if ProcScope.SelfArg=nil then
       if ProcScope.SelfArg=nil then
         begin
         begin
         {$IFDEF VerbosePas2JS}
         {$IFDEF VerbosePas2JS}