Skip to content

fix(web): correct childWithDescendant() functionality#4363

Merged
WillLillis merged 1 commit intotree-sitter:masterfrom
ribru17:cwd_wasm_fix
Apr 18, 2025
Merged

fix(web): correct childWithDescendant() functionality#4363
WillLillis merged 1 commit intotree-sitter:masterfrom
ribru17:cwd_wasm_fix

Conversation

@ribru17
Copy link
Contributor

@ribru17 ribru17 commented Apr 15, 2025

This fix allows for more granular address control when marshalling nodes across WASM. This is necessary for node methods which accept another node as a parameter (i.e., childWithDescendant())

Fixes #4362

amaanq
amaanq previously requested changes Apr 15, 2025
This fix allows for more granular address control when marshalling nodes
across WASM. This is necessary for node methods which accept another
node as a parameter (i.e., `childWithDescendant()`)
@WillLillis WillLillis dismissed amaanq’s stale review April 18, 2025 22:11

Changes discussed offline.

@WillLillis WillLillis merged commit 21390af into tree-sitter:master Apr 18, 2025
13 checks passed
@tree-sitter-ci-bot
Copy link

Successfully created backport PR for release-0.25:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

childWithDescendant does not work in web-tree-sitter wasm build

4 participants