[Pas2js] uncaught EAccessViolation during compiling typescript converted unit

Emin Borbor emin.borbor at gmail.com
Thu May 26 16:06:12 CEST 2022


Hi,
I converted a Typescript definition using the latest dts2pas from trunk.
When I try to compile the generated unit I get the following message

bug: uncaught EAccessViolation: Access violation
EAccessViolation: Access violation
Compilation aborted

Since it is a relatively large interface, I don't know how to debug the
Pas2js compiler itself to find what is wrong. I would appreciate any advice.

This is the converted unit from tabulator-tables/index.d.ts:

https://www.dropbox.com/s/ydbiiy5ni17ilkr/libtabulatorjs.pas?dl=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20220526/02659739/attachment.htm>


More information about the Pas2js mailing list