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

[js] Update Object and Symbol externs #11331

Merged
merged 3 commits into from Dec 13, 2023
Merged

[js] Update Object and Symbol externs #11331

merged 3 commits into from Dec 13, 2023

Conversation

kLabz
Copy link
Contributor

@kLabz kLabz commented Oct 15, 2023

Merging implementation from js-object and current std

Main change is changing Object.assign to allow returning an object of a different type than input object, because that's a possibility and is actually often used (adding fields is one current use case, but replacing a field can be useful too, and might change a field's type (which isn't great in Haxe...).

@skial skial mentioned this pull request Oct 16, 2023
1 task
@Simn Simn merged commit ca87189 into development Dec 13, 2023
122 checks passed
0b1kn00b pushed a commit to 0b1kn00b/haxe that referenced this pull request Jan 25, 2024
* [js] Update js.lib.Object and js.lib.Symbol

From their implementation in js-object haxelib

* Restore ?field syntax

* Reduce diff
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.

None yet

2 participants