Open tinca opened 6 years ago
If you intend to port a whole Java library, you may to take a look at this: https://github.com/j4ts/j4ts
This is not my favourite way but you might get better results with it for an existing lib
Thank you, I'll take a look at it.
In the meantime, do you think the above simple example is not worth a closer look?
Hi, My previous experiment and problem report with lambda and method reference comes from an experiment aiming at a possible transpilation of the excellent JGraphT lib. The first problem can be solved by modfication of the original source, which is presumably doable.
Now, transpilation revealed another issue. Transpilation failes with 2 errors, both at Queue.remove() method calls on LinkedList and ArrayDeque implementations. I tried looking into the docs and Collections test for hint to no avail.
A simple test shows the case:
Without remove() it transpiles.
Any idea? Thanks!