[Pas2js] TPrimitiveExpr error when assign variable in an anonymous procedure inside a for loop

Michael Van Canneyt michael at freepascal.org
Thu Jun 6 22:41:49 CEST 2019

On Thu, 6 Jun 2019, Logan Ralston wrote:

> Thanks, Mattias:
> As follow-up, since we're using TMS Web Core here, how do I go about
> integrating your trunk change under TMS' installation on Windows 10 running
> Delphi Rio 10.3.1? TMS appears to be out of sync with Pas2js and we want to
> keep the two in lock-step anyway (beyond being to test/use your trunk
> fixes). Please advise...

Mattias can correct me if I am wrong:

TMS Software has a private version of the compiler dll with support for 
binary compiled units. So it can be that you have no choice but to use 
their version.

You could try to replace their version of libpas2js.dll with a freshly
compiled free one one (I suspect this possibility is even required by 
the LGPL ?), but the consequence will be that the compiler needs to compile all 
sources from scratch at every compile.


More information about the Pas2js mailing list