Open vorth opened 2 years ago
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.
return AbstractMap.this.size();
return this.size();
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 saidreturn this.size();
, which is obviously recursive.