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

JS2 constructors: Struct ctors should take an object, not a list of fields #719

Closed
Tracked by #582
Manishearth opened this issue Oct 30, 2024 · 0 comments · Fixed by #723
Closed
Tracked by #582

JS2 constructors: Struct ctors should take an object, not a list of fields #719

Manishearth opened this issue Oct 30, 2024 · 0 comments · Fixed by #723
Labels
B-js JS backend

Comments

@Manishearth
Copy link
Contributor

Structs should be constructable via new Struct({field1: 1, field2: "foo"}), without using ordered parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-js JS backend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant