Using Delphi 10.4 and current WebCore, I have the following problem:
One of my projects raises the error
bug: uncaught EStackOverflow: Stack overflow
when compiling via the command line compiler. I couldn't figure out the reason, maybe it's the bug "fixed stack overflow on deep nested binary expressions" listed on Pas2JS Version Changes - Free Pascal wiki
When compiling in the IDE, it works - the error is not raised and the project is compiled successfully.
So, my questions are:
- Can I get around this, for examples by using msbuild.exe to invoke the compiler like the IDE does? (first attempt by calling msbuild.exe with the /t and /p switches resulted in strange errors...)
- Do you have plans to integrate a newer version of pas2js compiler?