[Pas2js] Pas2js 1.4.26

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 18 09:56:18 CEST 2020

On Thu, 18 Jun 2020 07:39:44 +0200
Sven Barth via Pas2js <pas2js at lists.freepascal.org> wrote:

> Am 18.06.2020 um 03:32 schrieb warleyalex via Pas2js:
> > a) Can you confirm when we use the Web.pas unit, the code
> > completion stop worlking :(
> > I suspect is new keyword "async"  
> Yes, that is indeed the problem. You can use the same workaround I
> used for generic functions and I've mentioned in the Rtti unit: 
> https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl-objpas/src/inc/rtti.pp?revision=45143&view=markup#l22
> You'll then need to wrap all occurrences of "async;" into "{$ifndef 
> InLazIDE}async;{$endif}". Worked for me at least. ;)

Lazarus trunk supports async.

I enclosed the "async;" in {$IFNDEF SkipAsync}async;{$ENDIF}, so you
can define SkipAsync for Lazarus 2.0.8.


More information about the Pas2js mailing list