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

DOMElement insertAdjacentElement should not be pure. #11333

Merged
merged 1 commit into from Oct 16, 2023

Conversation

simon-peek-poke
Copy link
Contributor

This function modifies the DOM so should not be marked with @:pure. This is causing the call to be removed form the compiled code unless something is done with the return value.

@kLabz
Copy link
Contributor

kLabz commented Oct 16, 2023

Uh, not sure how it ended up being added in #7354, but not a big surprise such error happened in a big externs update.

Anyway, thanks!

@kLabz kLabz merged commit 44e0259 into HaxeFoundation:development Oct 16, 2023
@skial skial mentioned this pull request Oct 16, 2023
1 task
0b1kn00b pushed a commit to 0b1kn00b/haxe that referenced this pull request Jan 25, 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.

None yet

2 participants