Hello,
Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
itself to webassembly (the support for the goto statement made this possible).
As a consequence, this means FPC can now be run in a browser.
See the screenshot at
https://wiki.freepascal.org/WebAssembly#Runn
It is really not related to specific lines. But sometimes the error will
repeat a lot on some lines.
Please, can you confirm if a zip file containing the project it self is a
minimal valid example? (I am afraid that changing the trying to simplify
the project will "solve" the error).
With some mo