[Pas2js] Pas2js 1.4.26

Sven Barth pascaldragon at googlemail.com
Thu Jun 18 07:39:44 CEST 2020


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. ;)

Regards,
Sven


More information about the Pas2js mailing list