jsweet
jsweet copied to clipboard
Calling method of anonymous class parent creates infinite recursion
See the transpiled code for AbstractMap.keyset().size() in j4ts:
https://github.com/j4ts/j4ts/blob/a3231753a5d3e38458821ff2bf333e6956792e85/src/main/java/java/util/AbstractMap.java#L245
The code generated for return AbstractMap.this.size();
is as if it said return this.size();
, which is obviously recursive.