[Pas2js] Pas2js 1.4.30

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 8 22:52:29 CEST 2020


On Wed, 8 Jul 2020 13:38:15 -0700 (MST)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:

> I updated pas2js today, "Pas2JS Compiler version 1.5.1 [2020/07/08]
> for Win64 x86_64".
> 
> a) the lazarus code completion does not work for me; In my project,
> which it uses the keyword "async".

Please check that you are using the right IDE, because Lazarus
trunk and fixes supports the async/await since I announced the
pas2js feature.


> The workaround is:
> a) I have to include the definition InLazIDE in the current project; 
> b) I have to edit the web.pas unit I and include at the top:
>   {$define SkipAsync}
> c) the code completion does not understand the syntax "varargs of
> JSValue", I had to change to:
> varargs; // of JSValue;

Same here.

Mattias


More information about the Pas2js mailing list