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

Fix: no longer use the variable name inside the same object when creating a nested complex type #244

Closed
wants to merge 1 commit into from

Conversation

rvan-mee
Copy link
Contributor

Previously, complex types were formatted with the variable name inside if there was a nested complex type:
tmp={i0:0, i1:0, a2:tmp={i0:0, i1:0}};

This PR removes the variable name:
tmp={i0:0, i1:0, a2:{i0:0, i1:0}};

@alexp-sssup
Copy link
Member

This was done on purpose. V8, at least in the past when the code was written, would generate pessimized code otherwise

@rvan-mee rvan-mee closed this Jul 11, 2024
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

Successfully merging this pull request may close these issues.

2 participants