Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling method of anonymous class parent creates infinite recursion #740

Open
vorth opened this issue Sep 23, 2022 · 0 comments
Open

Calling method of anonymous class parent creates infinite recursion #740

vorth opened this issue Sep 23, 2022 · 0 comments

Comments

@vorth
Copy link
Contributor

vorth commented Sep 23, 2022

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.

vorth added a commit to vorth/vzome that referenced this issue Sep 24, 2022
I'm discarding the MUI Grid, since I need full control.  I'm using CSS grid layout,
even though I just use it in one dimension at a time, since the mechanism of
`gridTemplateRows` etc. is clear and simple.

I switched from '/' to ':' for controller path separator, because tool controllers
can have names that include '/'.  I also created the subcontroller() function
in store.js, so there is one place to control this on the client side.

I had to work around a JSweet transpiler defect that manifests in j4ts, for
LinkedHashMap:

   cincheo/jsweet#740

Status: the tool factory bar and tool bar are both rendering well, though the style
is quite dated.  I haven't attempted the build/parts/measure tabs yet, or anything
for the length controls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant