Browse Source

* fixed compiler internal error, when compiling a unit that has an external function in its interface section

git-svn-id: branches/wasm@48421 -
nickysn 4 years ago
parent
commit
eb7db76a31
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/wasm32/symcpu.pas

+ 1 - 0
compiler/wasm32/symcpu.pas

@@ -233,6 +233,7 @@ implementation
       prm: tcpuparavarsym;
       bt: TWasmBasicType;
     begin
+      init_paraloc_info(callerside);
       result:=TWasmFuncType.Create([],[]);
       if Assigned(paras) and (paras.Count>0) then
         begin